You are here

public function LanguageConfigFactoryOverride::getLanguage in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/language/src/Config/LanguageConfigFactoryOverride.php \Drupal\language\Config\LanguageConfigFactoryOverride::getLanguage()

Gets the language object used to override configuration data.

Return value

\Drupal\Core\Language\LanguageInterface The language object used to override configuration data.

Overrides LanguageConfigFactoryOverrideInterface::getLanguage

File

core/modules/language/src/Config/LanguageConfigFactoryOverride.php, line 134

Class

LanguageConfigFactoryOverride
Provides language overrides for the configuration factory.

Namespace

Drupal\language\Config

Code

public function getLanguage() {
  return $this->language;
}