function CacheBackendInterface::deleteAll

Same name in other branches
  1. 9 core/lib/Drupal/Core/Cache/CacheBackendInterface.php \Drupal\Core\Cache\CacheBackendInterface::deleteAll()
  2. 10 core/lib/Drupal/Core/Cache/CacheBackendInterface.php \Drupal\Core\Cache\CacheBackendInterface::deleteAll()
  3. 11.x 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()

7 methods override CacheBackendInterface::deleteAll()
ApcuBackend::deleteAll in core/lib/Drupal/Core/Cache/ApcuBackend.php
Deletes all cache items in a bin.
BackendChain::deleteAll in core/lib/Drupal/Core/Cache/BackendChain.php
Deletes all cache items in a bin.
ChainedFastBackend::deleteAll in core/lib/Drupal/Core/Cache/ChainedFastBackend.php
Deletes all cache items in a bin.
DatabaseBackend::deleteAll in core/lib/Drupal/Core/Cache/DatabaseBackend.php
Deletes all cache items in a bin.
MemoryBackend::deleteAll in core/lib/Drupal/Core/Cache/MemoryBackend.php
Deletes all cache items in a bin.

... See full list

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();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.