function locale_system_set_config_langcodes
Same name in other branches
- 8.9.x core/modules/locale/locale.module \locale_system_set_config_langcodes()
- 10 core/modules/locale/locale.module \locale_system_set_config_langcodes()
- 11.x core/modules/locale/locale.module \locale_system_set_config_langcodes()
Updates default configuration when new modules or themes are installed.
2 calls to locale_system_set_config_langcodes()
- LocaleConfigSubscriberTest::setUp in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberTest.php - UserMailNotifyTest::testUserRecoveryMailLanguage in core/
modules/ user/ tests/ src/ Kernel/ UserMailNotifyTest.php - Tests recovery email content and token langcode is aligned.
File
-
core/
modules/ locale/ locale.module, line 368
Code
function locale_system_set_config_langcodes() {
Locale::config()->updateDefaultConfigLangcodes();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.