function KeyValueStoreInterface::getAllKeys

Same name and namespace in other branches
  1. main core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php \Drupal\Core\KeyValueStore\KeyValueStoreInterface::getAllKeys()

Retrieves all keys in the collection.

Return value

iterable<string> A list of all keys present in the collection.

2 methods override KeyValueStoreInterface::getAllKeys()
NullStorageExpirable::getAllKeys in core/lib/Drupal/Core/KeyValueStore/NullStorageExpirable.php
Retrieves all keys in the collection.
StorageBase::getAllKeys in core/lib/Drupal/Core/KeyValueStore/StorageBase.php
Retrieves all keys in the collection.

File

core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php, line 70

Class

KeyValueStoreInterface
Defines the interface for key/value store implementations.

Namespace

Drupal\Core\KeyValueStore

Code

public function getAllKeys() : iterable;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.