function KeyValueStoreInterface::deleteAll
Same name in other branches
- 8.9.x core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php \Drupal\Core\KeyValueStore\KeyValueStoreInterface::deleteAll()
- 10 core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php \Drupal\Core\KeyValueStore\KeyValueStoreInterface::deleteAll()
- 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\KeyValueStoreCode
public function deleteAll();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.