public function KeyValueStoreInterface::getAll in Drupal 9
Same name and namespace in other branches
- 8 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()
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();