You are here

public function ConfigurableLanguageManager::getLanguageConfigOverrideStorage in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 $storage A storage object to use for reading and writing the configuration override.

Overrides ConfigurableLanguageManagerInterface::getLanguageConfigOverrideStorage

File

core/modules/language/src/ConfigurableLanguageManager.php, line 458
Contains \Drupal\language\ConfigurableLanguageManager.

Class

ConfigurableLanguageManager
Overrides default LanguageManager to provide configured languages.

Namespace

Drupal\language

Code

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