KeyValueStoreInterface::getMultiple

public KeyValueStoreInterface::getMultiple(array $keys)

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.

File

core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php, line 53

Class

KeyValueStoreInterface
Defines the interface for key/value store implementations.

Namespace

Drupal\Core\KeyValueStore

Code

public function getMultiple(array $keys);
doc_Drupal
2016-10-29 09:21:53
Comments
Leave a Comment

Please login to continue.