public function 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 drupal/core/lib/Drupal/Core/KeyValueStore/StorageBase.php
Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::get().
3 methods override KeyValueStoreInterface::getMultiple()

File

drupal/core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php, line 45
Contains Drupal\Core\KeyValueStore\KeyValueStoreInterface.

Class

KeyValueStoreInterface
Defines the interface for key/value store implementations.

Namespace

Drupal\Core\KeyValueStore

Code

public function getMultiple(array $keys);