1 config.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

core/includes/config.inc, line 1701
This is the API for configuration storage.

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;
}