March 2011
Intermediate to advanced
452 pages
10h 11m
English
If you create custom modules or themes, you'll need to provide enough information for yourself or others to deploy the module to the Drupal core. The installer uses two files, one required and one optional, to prepare the system for accepting your module.
.info FileIf your module is self-contained and does not make any changes to the system, you can use a simple .info file. (The file is pronounced"dot info.")
The .info file stores metadata about your module or theme. For a module, the .info file tells Drupal the following:
That the module exists and what it is called.
How to control the activation and deactivation of the module.
How to render the module's information on the Drupal administration pages.
How to deal with the ...