function LanguageConfigFactoryOverride::createConfigObject
Same name in other branches
- 9 core/modules/language/src/Config/LanguageConfigFactoryOverride.php \Drupal\language\Config\LanguageConfigFactoryOverride::createConfigObject()
- 10 core/modules/language/src/Config/LanguageConfigFactoryOverride.php \Drupal\language\Config\LanguageConfigFactoryOverride::createConfigObject()
- 11.x core/modules/language/src/Config/LanguageConfigFactoryOverride.php \Drupal\language\Config\LanguageConfigFactoryOverride::createConfigObject()
Overrides ConfigFactoryOverrideInterface::createConfigObject
File
-
core/
modules/ language/ src/ Config/ LanguageConfigFactoryOverride.php, line 166
Class
- LanguageConfigFactoryOverride
- Provides language overrides for the configuration factory.
Namespace
Drupal\language\ConfigCode
public function createConfigObject($name, $collection = StorageInterface::DEFAULT_COLLECTION) {
$langcode = $this->getLangcodeFromCollectionName($collection);
return $this->getOverride($langcode, $name);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.