You are here

public function NormalizedReadOnlyStorage::readMultiple in Configuration Normalizer 8

Same name and namespace in other branches
  1. 2.0.x src/Config/NormalizedReadOnlyStorage.php \Drupal\config_normalizer\Config\NormalizedReadOnlyStorage::readMultiple()

Reads configuration data from the storage.

Parameters

array $names: List of names of the configuration objects to load.

Return value

array A list of the configuration data stored for the configuration object name that could be loaded for the passed list of names.

Overrides StorageInterface::readMultiple

File

src/Config/NormalizedReadOnlyStorage.php, line 84

Class

NormalizedReadOnlyStorage
Defines the normalized read only storage.

Namespace

Drupal\config_normalizer\Config

Code

public function readMultiple(array $names) {
  $list = parent::readMultiple($names);
  foreach ($list as $name => &$data) {
    $data = $this
      ->normalize($name, $data);
  }
  return $list;
}