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 will you create custom module and what are the files required for to create module?



How will you create custom module and what are the files required for to create module?..

Answer / Sumit Yadav

To create a custom Drupal module, follow these steps:

1. Create a new directory in the modules folder (e.g., mymodule) and inside it create two essential files: mymodule.info.yml and mymodule.module.
2. Define the module's information, dependencies, and core requirements in the mymodule.info.yml file.
3. Implement functions and hooks in the mymodule.module file as needed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Drupal Interview Questions

Is drupal java based?

1 Answers  


Steps for launching a drupal site?

1 Answers  


Which module can be used for e-commerce?

1 Answers  


What are the drush commands you use while development?

1 Answers  


Did you written the query in d7 for your module?

1 Answers  


How to drop the table using module?

1 Answers  


What is a view in drupal 8?

1 Answers  


What is the difference between hook_theme and hook_theme_registry?

1 Answers  


Different ways of adding js. How to add js in hook_form?

1 Answers  


What is panelizer?

1 Answers  


What is module in drupal?

1 Answers  


Do you keep regular backups?

1 Answers  


Categories