You are here

public function CacheCacheTagsChecksum::resetTags in Supercache 8

Same name and namespace in other branches
  1. 2.0.x src/Cache/CacheCacheTagsChecksum.php \Drupal\supercache\Cache\CacheCacheTagsChecksum::resetTags()

Reset all tag values.

Overrides CacheTagsInvalidatorInterface::resetTags

File

src/Cache/CacheCacheTagsChecksum.php, line 143
Contains \Drupal\supercache\Cache\CacheCacheTagsChecksum.

Class

CacheCacheTagsChecksum
Cache tags invalidations checksum implementation that uses a CacheRawBackendInterface as the storage.

Namespace

Drupal\supercache\Cache

Code

public function resetTags() {
  $this
    ->reset();
  $this->backend
    ->deleteAll();
}