protected function CacheCollector::invalidateCache in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::invalidateCache()
Invalidate the cache.
2 calls to CacheCollector::invalidateCache()
- CacheCollector::delete in core/
lib/ Drupal/ Core/ Cache/ CacheCollector.php - Deletes the element.
- CacheCollector::set in core/
lib/ Drupal/ Core/ Cache/ CacheCollector.php - Implements \Drupal\Core\Cache\CacheCollectorInterface::set().
File
- core/
lib/ Drupal/ Core/ Cache/ CacheCollector.php, line 341 - Contains \Drupal\Core\Cache\CacheCollector.
Class
- CacheCollector
- Default implementation for CacheCollectorInterface.
Namespace
Drupal\Core\CacheCode
protected function invalidateCache() {
// Invalidate the cache to make sure that other requests immediately see the
// deletion before this request is terminated.
$this->cache
->invalidate($this
->getCid());
$this->cacheInvalidated = TRUE;
}