You are here

function locale_modules_installed in Drupal 8

Same name and namespace in other branches
  1. 7 modules/locale/locale.module \locale_modules_installed()
  2. 9 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);
}