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

1
2
3
4
5
6
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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.