public function 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;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!KeyValueStore!MemoryStorage.php/function/MemoryStorage::getAll/8.1.x