public function DatabaseStorage::deleteAll in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Drupal/Core/KeyValueStore/DatabaseStorage.php \Drupal\Core\KeyValueStore\DatabaseStorage::deleteAll()
Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::deleteAll().
Overrides KeyValueStoreInterface::deleteAll
File
- lib/
Drupal/ Core/ KeyValueStore/ DatabaseStorage.php, line 164 - Contains \Drupal\Core\KeyValueStore\DatabaseStorage.
Class
- DatabaseStorage
- Defines a default key/value store implementation.
Namespace
Drupal\Core\KeyValueStoreCode
public function deleteAll() {
$this->connection
->delete($this->table)
->condition('collection', $this->collection)
->execute();
}