function ChainedFastBackend::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
File
-
core/
lib/ Drupal/ Core/ Cache/ ChainedFastBackend.php, line 248
Class
- ChainedFastBackend
- Defines a backend with a fast and a consistent backend chain.
Namespace
Drupal\Core\CacheCode
public function invalidateAll() {
$this->consistentBackend
->invalidateAll();
$this->markAsOutdated();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.