function KeyValueStoreInterface::getAll
Same name in other branches
- 8.9.x core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php \Drupal\Core\KeyValueStore\KeyValueStoreInterface::getAll()
- 10 core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php \Drupal\Core\KeyValueStore\KeyValueStoreInterface::getAll()
- 11.x 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 62
Class
- KeyValueStoreInterface
- Defines the interface for key/value store implementations.
Namespace
Drupal\Core\KeyValueStoreCode
public function getAll();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.