module_load_install

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.

File

core/includes/module.inc, line 89
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);
}
doc_Drupal
2016-10-29 09:29:47
Comments
Leave a Comment

Please login to continue.