CacheCollector::invalidateCache

protected CacheCollector::invalidateCache()

Invalidate the cache.

File

core/lib/Drupal/Core/Cache/CacheCollector.php, line 336

Class

CacheCollector
Default implementation for CacheCollectorInterface.

Namespace

Drupal\Core\Cache

Code

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;
}
doc_Drupal
2016-10-29 08:49:22
Comments
Leave a Comment

Please login to continue.