Tuesday, October 4, 2011

Disabling a module in Drupal

Syntax:
module_disable($list of module name);

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

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

With this example, am disabling two modules at the same time.

No comments:

Post a Comment

Followers