ConfigurableLanguageManager::getLanguageConfigOverride

public ConfigurableLanguageManager::getLanguageConfigOverride($langcode, $name)

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 446

Class

ConfigurableLanguageManager
Overrides default LanguageManager to provide configured languages.

Namespace

Drupal\language

Code

public function getLanguageConfigOverride($langcode, $name) {
  return $this->configFactoryOverride->getOverride($langcode, $name);
}
doc_Drupal
2016-10-29 08:55:15
Comments
Leave a Comment

Please login to continue.