8.3.x module.inc module_load_install($module)
8.0.x module.inc module_load_install($module)
8.1.x module.inc module_load_install($module)
8.2.x module.inc module_load_install($module)
8.4.x module.inc module_load_install($module)
5.x module.inc module_load_install($module)
6.x module.inc module_load_install($module)
7.x module.inc module_load_install($module)

Loads 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()
drupal_check_module in includes/install.inc
Checks a module's requirements.
drupal_check_profile in includes/install.inc
Checks an installation profile's requirements.
drupal_get_schema_unprocessed in includes/common.inc
Returns the unprocessed and unaltered version of a module's schema.
drupal_load_updates in includes/install.inc
Loads .install files for installed modules to initialize the update system.
drupal_uninstall_modules in includes/install.inc
Uninstalls a given list of disabled modules.

... See full list

File

includes/module.inc, line 292
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);
}