function module_load_install

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.

23 calls to module_load_install()
block_update_8008 in drupal/core/modules/block/block.install
Migrate {block_custom}.body and {block_custom}.format to block_body field.
DatabaseStorageExpirableTest::setUp in drupal/core/modules/system/lib/Drupal/system/Tests/KeyValueStore/DatabaseStorageExpirableTest.php
Sets up unit test environment.
DatabaseStorageTest::setUp in drupal/core/modules/system/lib/Drupal/system/Tests/KeyValueStore/DatabaseStorageTest.php
Sets up unit test environment.
drupal_check_module in drupal/core/includes/install.inc
Checks a module's requirements.
drupal_check_profile in drupal/core/includes/install.inc
Checks an installation profile's requirements.

... See full list

File

drupal/core/includes/module.inc, line 150
API for loading and interacting with Drupal modules.

Code

function module_load_install($module) {

  // Make sure the installation API is available
  include_once __DIR__ . '/install.inc';
  return module_load_include('install', $module);
}