public ConfigurableLanguageManager::setConfigOverrideLanguage(LanguageInterface $language = NULL)
This function is a noop since the configuration cannot be overridden by language unless the Language module is enabled. That replaces the default language manager with a configurable language manager.
Overrides LanguageManager::setConfigOverrideLanguage
See also
\Drupal\language\ConfigurableLanguageManager::setConfigOverrideLanguage()
File
- core/modules/language/src/ConfigurableLanguageManager.php, line 431
Class
- ConfigurableLanguageManager
- Overrides default LanguageManager to provide configured languages.
Namespace
Drupal\language
Code
public function setConfigOverrideLanguage(LanguageInterface $language = NULL) { $this->configFactoryOverride->setLanguage($language); return $this; }
Please login to continue.