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 create the table using module?



How to create the table using module?..

Answer / Shailly

To create a table using a custom module in Drupal, follow these steps:

1. Create a custom module and enable it.
2. Implement hook_install() or hook_update_N() to install/update the database schema.
3. Define the database schema using a YAML file (e.g., .install files) or database API functions.
4. Query the database and create the necessary tables, fields, and relationships.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Drupal Interview Questions

What is a database api?

1 Answers  


Why ca not a drupal user edit a node they created?

1 Answers  


How to use the contextual filter?

1 Answers  


What is the latest version of drupal?

1 Answers  


How to backup my drupal site?

1 Answers  


What is critical path?

1 Answers  


What is drupal?

1 Answers  


Explain roles, user and permissions?

1 Answers  


What is the default drupal content item known as?

1 Answers  


What is content drupal?

1 Answers  


How to update table using module?

1 Answers  


Drupal features / drupal benefits / why use drupal ?

1 Answers  


Categories