CacheTagsInvalidator::resetChecksums

public CacheTagsInvalidator::resetChecksums()

Reset statically cached tags in all cache tag checksum services.

This is only used by tests.

File

core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php, line 43

Class

CacheTagsInvalidator
Passes cache tag events to classes that wish to respond to them.

Namespace

Drupal\Core\Cache

Code

public function resetChecksums() {
  foreach ($this->invalidators as $invalidator) {
    if ($invalidator instanceof CacheTagsChecksumInterface) {
      $invalidator->reset();
    }
  }
}
doc_Drupal
2016-10-29 08:49:37
Comments
Leave a Comment

Please login to continue.