| 1 config.inc | public Config::setMultiple(array $options) |
Sets multiple values in this configuration object.
Parameters
array $options: A keyed array of identifiers mapping to the associated values.
Return value
Config: The configuration object.
File
- core/
includes/ config.inc, line 983 - This is the API for configuration storage.
Class
- Config
- Defines the default configuration object.
Code
public function setMultiple(array $options) {
foreach ($options as $key => $value) {
$this->set($key, $value);
}
return $this;
}