You are here

public function ConfigSnapshotStorage::readMultiple in Config Snapshot 8

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/ConfigSnapshotStorage.php, line 120

Class

ConfigSnapshotStorage
Provides a configuration storage saved as simple configuration.

Namespace

Drupal\config_snapshot

Code

public function readMultiple(array $names) {
  $data = [];
  foreach ($names as $name) {
    $data[$name] = $this
      ->read($name);
  }
  return $data;
}