1.20.x config_file_storage.inc public ConfigFileStorage::readMultiple(array $names)

Reads configuration data from the storage.

Parameters

array $name: 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.

Throws

ConfigStorageException

Overrides ConfigStorageInterface::readMultiple

File

drivers/config_file/config_file_storage.inc, line 119

Class

ConfigFileStorage
Defines the file storage controller.

Code

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