MemoryStorage::getAll

public MemoryStorage::getAll()

Returns all stored key/value pairs in the collection.

Return value

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

Overrides KeyValueStoreInterface::getAll

File

core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php, line 41

Class

MemoryStorage
Defines a default key/value store implementation.

Namespace

Drupal\Core\KeyValueStore

Code

public function getAll() {
  return $this->data;
}
doc_Drupal
2016-10-29 09:25:53
Comments
Leave a Comment

Please login to continue.