function StateInterface::getMultiple
Same name in other branches
- 9 core/lib/Drupal/Core/State/StateInterface.php \Drupal\Core\State\StateInterface::getMultiple()
- 8.9.x core/lib/Drupal/Core/State/StateInterface.php \Drupal\Core\State\StateInterface::getMultiple()
- 10 core/lib/Drupal/Core/State/StateInterface.php \Drupal\Core\State\StateInterface::getMultiple()
Returns the stored key/value pairs for a given set of keys.
Parameters
array $keys: A list of keys to retrieve.
Return value
array An associative array of items successfully returned, indexed by key.
1 method overrides StateInterface::getMultiple()
- State::getMultiple in core/
lib/ Drupal/ Core/ State/ State.php - Returns the stored key/value pairs for a given set of keys.
File
-
core/
lib/ Drupal/ Core/ State/ StateInterface.php, line 34
Class
- StateInterface
- Defines the interface for the state system.
Namespace
Drupal\Core\StateCode
public function getMultiple(array $keys);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.