1 config.inc public ConfigDatabaseStorage::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 1425
This is the API for configuration storage.

Class

ConfigDatabaseStorage
Defines the database storage controller.

Code

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