Drupal uses .info files to store metadata about themes and modules.
For modules, the .info file is used for:
- rendering information on the Drupal Web GUI administration pages;
- providing criteria to control module activation and deactivation;
- notifying Drupal about the existence of a module;
- general administrative purposes in other contexts.
This .info file is required for the system to recognize the presence of a module.
The following is a sample .info file:
name = Really Neat Widget
description = Provides a really neat widget for your site's sidebar.
core = 7.x
package = Views
dependencies = views
dependencies = panels
files = tests/example.test
configure = admin/config/content/example
The .info file should have the same name as the .module file and reside in the same directory. For example, if your module is named example.module then your .info file should be named example.info.
This file is in standard .ini file format, which defines properties in key/value pairs separated by an equals sign (key = value). You may use quotation marks to wrap the value. Quoted values may contain newlines.