Drupal 7 Module Development Tutorial #4 - Inserting Data Into and Deleting Data From Our Database

Publié le: 28 novembre 2013
sur la chaîne: Web Development Tutorials
13,250
191

#1 Drupal Development Book: http://amzn.to/1PwoAo3

Visit www.TorontoWebsiteDeveloper.com/store to purchase a Drupal video tutorial series.

In this 4th video tutorial on Drupal 7 module development, I show you how we can insert data into and delete data from our database. To do so, we first call the hook hook_flag_flag from the flag module and use the Devel module to look inside the variables passed to the function. From there, we are able to grab the data we need and using the database api, insert our data into the database.

Following similar steps, we conclude the tutorial by deleting the data from the database when a node is unflagged.


Sur cette page du site, vous pouvez voir la vidéo en ligne Drupal 7 Module Development Tutorial #4 - Inserting Data Into and Deleting Data From Our Database durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Web Development Tutorials 28 novembre 2013, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 13,250 fois et il a aimé 191 téléspectateurs. Bon visionnage!