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
- 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); }
© 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/core!includes!module.inc/function/module_load_install/8.1.x