function locale_modules_installed in Drupal 10
Same name and namespace in other branches
- 8 core/modules/locale/locale.module \locale_modules_installed()
- 7 modules/locale/locale.module \locale_modules_installed()
- 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);
}