function MemoryStorage::deleteAll
Deletes all items from the key/value store.
Overrides KeyValueStoreInterface::deleteAll
File
-
core/
lib/ Drupal/ Core/ KeyValueStore/ MemoryStorage.php, line 99
Class
- MemoryStorage
- Defines a default key/value store implementation.
Namespace
Drupal\Core\KeyValueStoreCode
public function deleteAll() {
$this->data = [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.