function KeyValueStoreInterface::deleteAll

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php \Drupal\Core\KeyValueStore\KeyValueStoreInterface::deleteAll()
  2. 10 core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php \Drupal\Core\KeyValueStore\KeyValueStoreInterface::deleteAll()
  3. 11.x core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php \Drupal\Core\KeyValueStore\KeyValueStoreInterface::deleteAll()

Deletes all items from the key/value store.

3 methods override KeyValueStoreInterface::deleteAll()
DatabaseStorage::deleteAll in core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php
Deletes all items from the key/value store.
MemoryStorage::deleteAll in core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php
Deletes all items from the key/value store.
NullStorageExpirable::deleteAll in core/lib/Drupal/Core/KeyValueStore/NullStorageExpirable.php
Deletes all items from the key/value store.

File

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

Class

KeyValueStoreInterface
Defines the interface for key/value store implementations.

Namespace

Drupal\Core\KeyValueStore

Code

public function deleteAll();

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