ConfigurableLanguageManager::getLanguageConfigOverrideStorage

public ConfigurableLanguageManager::getLanguageConfigOverrideStorage($langcode)

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 453

Class

ConfigurableLanguageManager
Overrides default LanguageManager to provide configured languages.

Namespace

Drupal\language

Code

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

Please login to continue.