include.install in Include 7
Same filename and directory in other branches
Installs and uninstalls the Include module.
File
include.installView source
<?php
/**
* @file
* Installs and uninstalls the Include module.
*/
/**
* Decrease module weight to finish loading before other modules.
*/
function include_update_7100() {
db_query("UPDATE {system} SET weight = -10 WHERE type = 'module' AND name = 'include'");
}
/**
* Implements hook_install().
*/
function include_install() {
include_update_7100();
}
/**
* Implements hook_disable().
*
* Clears module-specific variables 'include_error' and 'include_set_root'.
* @see include_set_root(), include_clear_root()
*/
function include_disable() {
variable_del('include_error');
variable_del('include_set_root');
}
Functions
Name | Description |
---|---|
include_disable | Implements hook_disable(). |
include_install | Implements hook_install(). |
include_update_7100 | Decrease module weight to finish loading before other modules. |