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