public function LanguageConfigFactoryOverride::loadOverrides in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/language/src/Config/LanguageConfigFactoryOverride.php \Drupal\language\Config\LanguageConfigFactoryOverride::loadOverrides()
Returns config overrides.
Parameters
array $names: A list of configuration names that are being loaded.
Return value
array An array keyed by configuration name of override data. Override data contains a nested array structure of overrides.
Overrides ConfigFactoryOverrideInterface::loadOverrides
File
- core/
modules/ language/ src/ Config/ LanguageConfigFactoryOverride.php, line 86 - Contains \Drupal\language\Config\LanguageConfigFactoryOverride.
Class
- LanguageConfigFactoryOverride
- Provides language overrides for the configuration factory.
Namespace
Drupal\language\ConfigCode
public function loadOverrides($names) {
if ($this->language) {
$storage = $this
->getStorage($this->language
->getId());
return $storage
->readMultiple($names);
}
return array();
}