function 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

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);
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!module.inc/function/module_load_install/7.x