function LocaleHooks::modulesInstalled

Same name and namespace in other branches
  1. 11.x core/modules/locale/src/Hook/LocaleHooks.php \Drupal\locale\Hook\LocaleHooks::modulesInstalled()

Implements hook_modules_installed().

Attributes

#[Hook('modules_installed')]

File

core/modules/locale/src/Hook/LocaleHooks.php, line 143

Class

LocaleHooks
Hook implementations for locale.

Namespace

Drupal\locale\Hook

Code

public function modulesInstalled($modules) : void {
  $components['module'] = $modules;
  locale_system_update($components);
}

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