You are here

public function CacheBackendWrapper::invalidateAll in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Cache/CacheBackendWrapper.php \Drupal\webprofiler\Cache\CacheBackendWrapper::invalidateAll()
  2. 8 webprofiler/src/Cache/CacheBackendWrapper.php \Drupal\webprofiler\Cache\CacheBackendWrapper::invalidateAll()
  3. 8.2 webprofiler/src/Cache/CacheBackendWrapper.php \Drupal\webprofiler\Cache\CacheBackendWrapper::invalidateAll()

Marks all cache items as invalid.

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

Overrides CacheBackendInterface::invalidateAll

See also

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

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

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

File

webprofiler/src/Cache/CacheBackendWrapper.php, line 158

Class

CacheBackendWrapper
Wraps an existing cache backend to track calls to the cache backend.

Namespace

Drupal\webprofiler\Cache

Code

public function invalidateAll() {
  return $this->cacheBackend
    ->invalidateAll();
}