Same name and namespace in other branches
- 6.x developer/hooks/install.php \hook_disable()
- 7.x modules/system/system.api.php \hook_disable()
Perform necessary actions before module is disabled.
The hook is called everytime module is disabled.
Related topics
3 functions implement hook_disable()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- module_disable in includes/
module.inc - Disable a given set of modules.
- node_access_example_disable in developer/
examples/ node_access_example.install - Implementation of hook_disable().
- system_modules_disable in modules/
system/ system.module - Form process callback function to disable check boxes.
File
- developer/
hooks/ install.php, line 245 - Documentation for the installation and update system.
Code
function hook_disable() {
mymodule_cache_rebuild();
}