hook_disable

Definition

hook_disable()
subscriptions_og/docs/hooks.php, line 370

Description

Perform necessary actions before module is disabled. (Copied from api.drupal.org).

The hook is called everytime module is disabled.

Related topics

Namesort iconDescription
HooksAllow modules to interact with the Drupal core.

Code

<?php
function hook_disable() {
  mymodule_cache_rebuild();
}
?>