function SystemTestHooks::modulesInstalled
Implements hook_modules_installed().
File
-
core/
modules/ system/ tests/ modules/ system_test/ src/ Hook/ SystemTestHooks.php, line 33
Class
- SystemTestHooks
- Hook implementations for system_test.
Namespace
Drupal\system_test\HookCode
public function modulesInstalled($modules) : void {
if (\Drupal::state()->get('system_test.verbose_module_hooks')) {
foreach ($modules as $module) {
\Drupal::messenger()->addStatus(t('hook_modules_installed fired for @module', [
'@module' => $module,
]));
}
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.