hook_disable()
contributions/docs/developer/hooks/install.php, line 268
Perform necessary actions before module is disabled.
The hook is called everytime module is disabled.
| Name | Description |
|---|---|
| Hooks | Allow modules to interact with the Drupal core. |
function hook_disable() {
mymodule_cache_rebuild();
}