public function UpdateBackend::deleteAll in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Update/UpdateBackend.php \Drupal\Core\Update\UpdateBackend::deleteAll()
- 10 core/lib/Drupal/Core/Update/UpdateBackend.php \Drupal\Core\Update\UpdateBackend::deleteAll()
Deletes all cache items in a bin.
Overrides NullBackend::deleteAll
See also
\Drupal\Core\Cache\CacheBackendInterface::invalidateAll()
\Drupal\Core\Cache\CacheBackendInterface::delete()
\Drupal\Core\Cache\CacheBackendInterface::deleteMultiple()
File
- core/
lib/ Drupal/ Core/ Update/ UpdateBackend.php, line 50
Class
- UpdateBackend
- Defines a cache backend for use during Drupal database updates.
Namespace
Drupal\Core\UpdateCode
public function deleteAll() {
$this->backend
->deleteAll();
}