public function StateWrapper::setMultiple in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/State/StateWrapper.php \Drupal\webprofiler\State\StateWrapper::setMultiple()
- 8.2 webprofiler/src/State/StateWrapper.php \Drupal\webprofiler\State\StateWrapper::setMultiple()
- 4.x webprofiler/src/State/StateWrapper.php \Drupal\webprofiler\State\StateWrapper::setMultiple()
Saves key/value pairs.
Parameters
array $data: An associative array of key/value pairs.
Overrides StateInterface::setMultiple
File
- webprofiler/
src/ State/ StateWrapper.php, line 71
Class
- StateWrapper
- Class StateWrapper.
Namespace
Drupal\webprofiler\StateCode
public function setMultiple(array $data) {
$this->state
->setMultiple($data);
}