You are here

function locale_modules_installed in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/locale/locale.module \locale_modules_installed()
  2. 7 modules/locale/locale.module \locale_modules_installed()
  3. 10 core/modules/locale/locale.module \locale_modules_installed()

Implements hook_modules_installed().

File

core/modules/locale/locale.module, line 319
Enables the translation of the user interface to languages other than English.

Code

function locale_modules_installed($modules) {
  locale_system_set_config_langcodes();
  $components['module'] = $modules;
  locale_system_update($components);
}