function StateInterface::setMultiple
Same name in other branches
- 9 core/lib/Drupal/Core/State/StateInterface.php \Drupal\Core\State\StateInterface::setMultiple()
- 10 core/lib/Drupal/Core/State/StateInterface.php \Drupal\Core\State\StateInterface::setMultiple()
- 11.x core/lib/Drupal/Core/State/StateInterface.php \Drupal\Core\State\StateInterface::setMultiple()
Saves key/value pairs.
Parameters
array $data: An associative array of key/value pairs.
1 method overrides StateInterface::setMultiple()
- State::setMultiple in core/
lib/ Drupal/ Core/ State/ State.php - Saves key/value pairs.
File
-
core/
lib/ Drupal/ Core/ State/ StateInterface.php, line 52
Class
- StateInterface
- Defines the interface for the state system.
Namespace
Drupal\Core\StateCode
public function setMultiple(array $data);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.