You are here

public function KeyValueStoreInterface::getAll in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 66
Contains \Drupal\Core\KeyValueStore\KeyValueStoreInterface.

Class

KeyValueStoreInterface
Defines the interface for key/value store implementations.

Namespace

Drupal\Core\KeyValueStore

Code

public function getAll();