function OtherModuleInstalledHooks::modulesInstalled

Same name and namespace in other branches
  1. 11.x core/modules/system/tests/modules/respond_install_uninstall_hook_test/src/Hook/OtherModuleInstalledHooks.php \Drupal\respond_install_uninstall_hook_test\Hook\OtherModuleInstalledHooks::modulesInstalled()

Implements hook_modules_installed().

Attributes

#[Hook('modules_installed')]

File

core/modules/system/tests/modules/respond_install_uninstall_hook_test/src/Hook/OtherModuleInstalledHooks.php, line 26

Class

OtherModuleInstalledHooks
Hook implementations for respond_install_uninstall_hook_test.

Namespace

Drupal\respond_install_uninstall_hook_test\Hook

Code

public function modulesInstalled() : void {
  // Set a global value we can check in test code.
  $GLOBALS['hook_modules_installed'] = 'hook_modules_installed';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.