public function LanguageManager::setConfigOverrideLanguage in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Language/LanguageManager.php \Drupal\Core\Language\LanguageManager::setConfigOverrideLanguage()
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 LanguageManagerInterface::setConfigOverrideLanguage
See also
\Drupal\language\ConfigurableLanguageManager::setConfigOverrideLanguage()
1 method overrides LanguageManager::setConfigOverrideLanguage()
- ConfigurableLanguageManager::setConfigOverrideLanguage in core/
modules/ language/ src/ ConfigurableLanguageManager.php - Sets the configuration override language.
File
- core/
lib/ Drupal/ Core/ Language/ LanguageManager.php, line 344 - Contains \Drupal\Core\Language\LanguageManager.
Class
- LanguageManager
- Class responsible for providing language support on language-unaware sites.
Namespace
Drupal\Core\LanguageCode
public function setConfigOverrideLanguage(LanguageInterface $language = NULL) {
return $this;
}