You are here

public function ConfigurableLanguageManager::getLanguageConfigOverride in Drupal 8

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

Gets a language config override object.

Parameters

string $langcode: The language code for the override.

string $name: The language configuration object name.

Return value

\Drupal\language\Config\LanguageConfigOverride The language config override object.

Overrides ConfigurableLanguageManagerInterface::getLanguageConfigOverride

File

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

Class

ConfigurableLanguageManager
Overrides default LanguageManager to provide configured languages.

Namespace

Drupal\language

Code

public function getLanguageConfigOverride($langcode, $name) {
  return $this->configFactoryOverride
    ->getOverride($langcode, $name);
}