| 5 install.php | hook_enable() |
| 6 install.php | hook_enable() |
| 7 system.api.php | hook_enable() |
| 8 system.api.php | hook_enable() |
Perform necessary actions after module is enabled.
The hook is called everytime module is enabled.
Related topics
File
- developer/
hooks/ install.php, line 236 - Documentation for the installation and update system.
Code
<?php
function hook_enable() {
mymodule_cache_rebuild();
}
?>Login or register to post comments