public function KeyValueStoreInterface::getMultiple in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php \Drupal\Core\KeyValueStore\KeyValueStoreInterface::getMultiple()
Returns the stored key/value pairs for a given set of keys.
@todo What's returned for non-existing keys?
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 lib/
Drupal/ Core/ KeyValueStore/ StorageBase.php - Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::get().
3 methods override KeyValueStoreInterface::getMultiple()
- DatabaseStorage::getMultiple in lib/
Drupal/ Core/ KeyValueStore/ DatabaseStorage.php - Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::getMultiple().
- MemoryStorage::getMultiple in lib/
Drupal/ Core/ KeyValueStore/ MemoryStorage.php - Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::getMultiple().
- NullStorageExpirable::getMultiple in lib/
Drupal/ Core/ KeyValueStore/ NullStorageExpirable.php - Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::getMultiple().
File
- lib/
Drupal/ Core/ KeyValueStore/ KeyValueStoreInterface.php, line 58 - Contains \Drupal\Core\KeyValueStore\KeyValueStoreInterface.
Class
- KeyValueStoreInterface
- Defines the interface for key/value store implementations.
Namespace
Drupal\Core\KeyValueStoreCode
public function getMultiple(array $keys);