You are here

public function UpdateBackend::deleteAll in Drupal 9

Same name and namespace in other branches
  1. 8 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\Update

Code

public function deleteAll() {
  $this->backend
    ->deleteAll();
}