module_load_install

5 module.inc module_load_install($module)
6 module.inc module_load_install($module)
7 module.inc module_load_install($module)
8 module.inc module_load_install($module)

Load a module's installation hooks.

Parameters

$module: The name of the module (without the .module extension).

Return value

The name of the module's install file, if successful; FALSE otherwise.

14 calls to module_load_install()

File

includes/module.inc, line 260
API for loading and interacting with Drupal modules.

Code

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

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