hook_enable
developer/hooks/install.php, line 259
- Versions
- 5 – 7
hook_enable()
Perform necessary actions after module is enabled.
The hook is called everytime module is enabled.
Related topics
Code
<?php
function hook_enable() {
mymodule_cache_rebuild();
}
?> 