You are here

public function CacheBackendInterface::deleteAll in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Cache/CacheBackendInterface.php \Drupal\Core\Cache\CacheBackendInterface::deleteAll()
  2. 9 core/lib/Drupal/Core/Cache/CacheBackendInterface.php \Drupal\Core\Cache\CacheBackendInterface::deleteAll()

Deletes all cache items in a bin.

See also

\Drupal\Core\Cache\CacheBackendInterface::invalidateAll()

\Drupal\Core\Cache\CacheBackendInterface::delete()

\Drupal\Core\Cache\CacheBackendInterface::deleteMultiple()

1 method overrides CacheBackendInterface::deleteAll()
MemoryBackend::deleteAll in core/lib/Drupal/Core/Cache/MemoryBackend.php
Deletes all cache items in a bin.

File

core/lib/Drupal/Core/Cache/CacheBackendInterface.php, line 163

Class

CacheBackendInterface
Defines an interface for cache implementations.

Namespace

Drupal\Core\Cache

Code

public function deleteAll();