1 config.inc config_load_multiple($names, $type = 'active')

Loads configuration objects by name.

Parameters

array $names: The list of configuration names to load.

string $type: The configuration type, either "staging" or "active".

Return value

array: An array containing matching configuration objects.

File

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

Code

function config_load_multiple($names, $type = 'active') {
  $storage = config_get_config_storage($type);
  return $storage->readMultiple($names);
}