public function StateInterface::getMultiple in Drupal 9
Same name and namespace in other branches
- 8 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);