1 config.inc public Config::setMultiple($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 731
This is the API for configuration storage.

Class

Config
Defines the default configuration object.

Code

public function setMultiple($options) {
  foreach ($options as $key => $value) {
    $this->set($key, $value);
  }
  return $this;
}