function LanguageConfigFactoryOverride::getStorage
Same name in other branches
- 9 core/modules/language/src/Config/LanguageConfigFactoryOverride.php \Drupal\language\Config\LanguageConfigFactoryOverride::getStorage()
- 8.9.x core/modules/language/src/Config/LanguageConfigFactoryOverride.php \Drupal\language\Config\LanguageConfigFactoryOverride::getStorage()
- 11.x core/modules/language/src/Config/LanguageConfigFactoryOverride.php \Drupal\language\Config\LanguageConfigFactoryOverride::getStorage()
3 calls to LanguageConfigFactoryOverride::getStorage()
- LanguageConfigFactoryOverride::getOverride in core/
modules/ language/ src/ Config/ LanguageConfigFactoryOverride.php - LanguageConfigFactoryOverride::loadOverrides in core/
modules/ language/ src/ Config/ LanguageConfigFactoryOverride.php - LanguageConfigFactoryOverride::onConfigRename in core/
modules/ language/ src/ Config/ LanguageConfigFactoryOverride.php
File
-
core/
modules/ language/ src/ Config/ LanguageConfigFactoryOverride.php, line 117
Class
- LanguageConfigFactoryOverride
- Provides language overrides for the configuration factory.
Namespace
Drupal\language\ConfigCode
public function getStorage($langcode) {
if (!isset($this->storages[$langcode])) {
$this->storages[$langcode] = $this->baseStorage
->createCollection($this->createConfigCollectionName($langcode));
}
return $this->storages[$langcode];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.