DatabaseCacheTagsChecksum::reset

Reset statically cached tags.

This is only used by tests.

Overrides CacheTagsChecksumInterface::reset

File

core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php, line 136

Class

DatabaseCacheTagsChecksum
Cache tags invalidations checksum implementation that uses the database.

Namespace

Drupal\Core\Cache

Code

1
2
3
4
public function reset() {
  $this->tagCache = array();
  $this->invalidatedTags = array();
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.