Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to implement hook_update_n() ?

Answer Posted / Sumit Chaudhary

Hook_update_n() is used in Drupal for database schema updates. To implement it, create a custom module, and then define the appropriate hook within your module's .module file. The hook should return an array of update operations, each represented as a key-value pair where the key is a unique machine name and the value contains the actual update function.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you create a field using code?

118


Did you contributed the drupal site (any module)?

102


How to create custom table using drupal module?

123


What is the drupal current version?

147