ConfigurableLanguageManager::getConfigOverrideLanguage

public ConfigurableLanguageManager::getConfigOverrideLanguage()

Gets the current configuration override language.

Return value

\Drupal\Core\Language\LanguageInterface The current configuration override language.

Overrides LanguageManager::getConfigOverrideLanguage

File

core/modules/language/src/ConfigurableLanguageManager.php, line 439

Class

ConfigurableLanguageManager
Overrides default LanguageManager to provide configured languages.

Namespace

Drupal\language

Code

public function getConfigOverrideLanguage() {
  return $this->configFactoryOverride->getLanguage();
}
doc_Drupal
2016-10-29 08:55:14
Comments
Leave a Comment

Please login to continue.