You are here

public function KeyValueStoreInterface::getAll in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php \Drupal\Core\KeyValueStore\KeyValueStoreInterface::getAll()

Returns all stored key/value pairs in the collection.

Return value

array An associative array containing all stored items in the collection.

3 methods override KeyValueStoreInterface::getAll()
DatabaseStorage::getAll in lib/Drupal/Core/KeyValueStore/DatabaseStorage.php
Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::getAll().
MemoryStorage::getAll in lib/Drupal/Core/KeyValueStore/MemoryStorage.php
Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::getAll().
NullStorageExpirable::getAll in lib/Drupal/Core/KeyValueStore/NullStorageExpirable.php
Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::getAll().

File

lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php, line 66
Contains \Drupal\Core\KeyValueStore\KeyValueStoreInterface.

Class

KeyValueStoreInterface
Defines the interface for key/value store implementations.

Namespace

Drupal\Core\KeyValueStore

Code

public function getAll();