function KeyValueStoreInterface::getMultiple
Returns the stored key/value pairs for a given set of keys.
@todo Determine the best return value for non-existing keys in https://www.drupal.org/node/2787737
Parameters
array $keys: A list of keys to retrieve.
Return value
array An associative array of items successfully returned, indexed by key.
1 call to KeyValueStoreInterface::getMultiple()
- StorageBase::get in core/lib/ Drupal/ Core/ KeyValueStore/ StorageBase.php 
- Returns the stored value for a given key.
3 methods override KeyValueStoreInterface::getMultiple()
- DatabaseStorage::getMultiple in core/lib/ Drupal/ Core/ KeyValueStore/ DatabaseStorage.php 
- Returns the stored key/value pairs for a given set of keys.
- MemoryStorage::getMultiple in core/lib/ Drupal/ Core/ KeyValueStore/ MemoryStorage.php 
- Returns the stored key/value pairs for a given set of keys.
- NullStorageExpirable::getMultiple in core/lib/ Drupal/ Core/ KeyValueStore/ NullStorageExpirable.php 
- Returns the stored key/value pairs for a given set of keys.
File
- 
              core/lib/ Drupal/ Core/ KeyValueStore/ KeyValueStoreInterface.php, line 54 
Class
- KeyValueStoreInterface
- Defines the interface for key/value store implementations.
Namespace
Drupal\Core\KeyValueStoreCode
public function getMultiple(array $keys);Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
