You are here

public function KeyValueStoreInterface::deleteAll in Drupal 9

Same name and namespace in other branches
  1. 8 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();