O'Reilly logo

Pro Drupal 7 for Windows Developlers by Brian Travis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Deployment

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.

The .info File

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

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required