hook_disable()
docs-5/hooks/install.php, line 245
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. |
<?php
function hook_disable() {
mymodule_cache_rebuild();
}
?>