function CacheBackendInterface::invalidateAll

Same name in other branches
  1. 9 core/lib/Drupal/Core/Cache/CacheBackendInterface.php \Drupal\Core\Cache\CacheBackendInterface::invalidateAll()
  2. 8.9.x core/lib/Drupal/Core/Cache/CacheBackendInterface.php \Drupal\Core\Cache\CacheBackendInterface::invalidateAll()
  3. 10 core/lib/Drupal/Core/Cache/CacheBackendInterface.php \Drupal\Core\Cache\CacheBackendInterface::invalidateAll()

Marks all cache items as invalid.

Invalid items may be returned in later calls to get(), if the $allow_invalid argument is TRUE.

See also

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

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

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

8 methods override CacheBackendInterface::invalidateAll()
ApcuBackend::invalidateAll in core/lib/Drupal/Core/Cache/ApcuBackend.php
BackendChain::invalidateAll in core/lib/Drupal/Core/Cache/BackendChain.php
CacheBackendDecorator::invalidateAll in core/modules/system/tests/modules/performance_test/src/Cache/CacheBackendDecorator.php
ChainedFastBackend::invalidateAll in core/lib/Drupal/Core/Cache/ChainedFastBackend.php
DatabaseBackend::invalidateAll in core/lib/Drupal/Core/Cache/DatabaseBackend.php

... See full list

File

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

Class

CacheBackendInterface
Defines an interface for cache implementations.

Namespace

Drupal\Core\Cache

Code

public function invalidateAll();

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