You are here

public function KeyValueStoreInterface::getAll in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php \Drupal\Core\KeyValueStore\KeyValueStoreInterface::getAll()
  2. 10 core/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 core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php
Returns all stored key/value pairs in the collection.
MemoryStorage::getAll in core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php
Returns all stored key/value pairs in the collection.
NullStorageExpirable::getAll in core/lib/Drupal/Core/KeyValueStore/NullStorageExpirable.php
Returns all stored key/value pairs in the collection.

File

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

Class

KeyValueStoreInterface
Defines the interface for key/value store implementations.

Namespace

Drupal\Core\KeyValueStore

Code

public function getAll();