public CacheCollector::clear()
Clears the collected cache entry.
Overrides CacheCollectorInterface::clear
File
- core/lib/Drupal/Core/Cache/CacheCollector.php, line 300
Class
- CacheCollector
- Default implementation for CacheCollectorInterface.
Namespace
Drupal\Core\Cache
Code
1 2 3 4 5 6 7 8 9 | public function clear() { $this ->reset(); if ( $this ->tags) { Cache::invalidateTags( $this ->tags); } else { $this ->cache-> delete ( $this ->getCid()); } } |
Please login to continue.