protected function 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\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; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Cache!CacheCollector.php/function/CacheCollector::invalidateCache/8.1.x