You are here

public function LanguageManager::getConfigOverrideLanguage in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Language/LanguageManager.php \Drupal\Core\Language\LanguageManager::getConfigOverrideLanguage()
  2. 10 core/lib/Drupal/Core/Language/LanguageManager.php \Drupal\Core\Language\LanguageManager::getConfigOverrideLanguage()

Gets the current configuration override language.

Return value

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

Overrides LanguageManagerInterface::getConfigOverrideLanguage

1 method overrides LanguageManager::getConfigOverrideLanguage()
ConfigurableLanguageManager::getConfigOverrideLanguage in core/modules/language/src/ConfigurableLanguageManager.php
Gets the current configuration override language.

File

core/lib/Drupal/Core/Language/LanguageManager.php, line 374

Class

LanguageManager
Class responsible for providing language support on language-unaware sites.

Namespace

Drupal\Core\Language

Code

public function getConfigOverrideLanguage() {
  return $this
    ->getCurrentLanguage();
}