Tuesday, October 4, 2011

Enabling a module in Drupal

Syntax:
module_enable($list of module name);

Note: You have to give module name insense of array format.  You can enable a single or multiple modules at the time.

Example:
module_enable(array("common", "adsense"));

No comments:

Post a Comment

Followers