LanguageConfigFactoryOverride::loadOverrides

public LanguageConfigFactoryOverride::loadOverrides($names)

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 81

Class

LanguageConfigFactoryOverride
Provides language overrides for the configuration factory.

Namespace

Drupal\language\Config

Code

public function loadOverrides($names) {
  if ($this->language) {
    $storage = $this->getStorage($this->language->getId());
    return $storage->readMultiple($names);
  }
  return array();
}
doc_Drupal
2016-10-29 09:22:08
Comments
Leave a Comment

Please login to continue.