module_load_install
- Versions
- 5 – 7
module_load_install($module)
Load a module's installation hooks.
Code
includes/module.inc, line 222
<?php
function module_load_install($module) {
// Make sure the installation API is available
include_once './includes/install.inc';
$install_file = './'. drupal_get_path('module', $module) .'/'. $module .'.install';
if (is_file($install_file)) {
include_once $install_file;
}
}
?>Login or register to post comments 