module_load_install

Versions
5 – 7
module_load_install($module)

Load a module's installation hooks.

▾ 6 functions call module_load_install()

drupal_load_updates in includes/install.inc
Initialize the update system by loading all installed module's .install files.
drupal_uninstall_module in includes/install.inc
Calls the uninstall function and updates the system table for a given module.
module_disable in includes/module.inc
Disable a given set of modules.
module_enable in includes/module.inc
Enable a given list of modules.
system_modules_uninstall in modules/system/system.admin.inc
Builds a form of currently disabled modules.
_drupal_install_module in includes/install.inc
Callback to install an individual profile module.

Code

includes/module.inc, line 236

<?php
function module_load_install($module) {
  // Make sure the installation API is available
  include_once './includes/install.inc';

  module_load_include('install', $module);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.