function OtherModuleInstalledHooks::modulePreinstall
Implements hook_module_preinstall().
File
-
core/
modules/ system/ tests/ modules/ respond_install_uninstall_hook_test/ src/ Hook/ OtherModuleInstalledHooks.php, line 17
Class
- OtherModuleInstalledHooks
- Hook implementations for respond_install_uninstall_hook_test.
Namespace
Drupal\respond_install_uninstall_hook_test\HookCode
public function modulePreinstall() : void {
// Set a global value we can check in test code.
$GLOBALS['hook_module_preinstall'] = 'hook_module_preinstall';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.