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.
If 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.")
.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 ...