You are here

public function ConfigurableLanguageManager::getLanguageConfigOverrideStorage in Drupal 8

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

Gets a language configuration override storage object.

Parameters

string $langcode: The language code for the override.

Return value

\Drupal\Core\Config\StorageInterface A storage object to use for reading and writing the configuration override.

Overrides ConfigurableLanguageManagerInterface::getLanguageConfigOverrideStorage

File

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

Class

ConfigurableLanguageManager
Overrides default LanguageManager to provide configured languages.

Namespace

Drupal\language

Code

public function getLanguageConfigOverrideStorage($langcode) {
  return $this->configFactoryOverride
    ->getStorage($langcode);
}