function CacheTagsChecksumTrait::doInvalidateTags

Same name in other branches
  1. 9 core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php \Drupal\Core\Cache\CacheTagsChecksumTrait::doInvalidateTags()
  2. 10 core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php \Drupal\Core\Cache\CacheTagsChecksumTrait::doInvalidateTags()
  3. 11.x core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php \Drupal\Core\Cache\CacheTagsChecksumTrait::doInvalidateTags()

Marks cache items with any of the specified tags as invalid.

Parameters

string[] $tags: The set of tags for which to invalidate cache items.

2 calls to CacheTagsChecksumTrait::doInvalidateTags()
CacheTagsChecksumTrait::invalidateTags in core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php
Implements \Drupal\Core\Cache\CacheTagsChecksumInterface::invalidateTags()
CacheTagsChecksumTrait::rootTransactionEndCallback in core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php
Callback to be invoked just after a database transaction gets committed.
1 method overrides CacheTagsChecksumTrait::doInvalidateTags()
DatabaseCacheTagsChecksum::doInvalidateTags in core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php
Marks cache items with any of the specified tags as invalid.

File

core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php, line 179

Class

CacheTagsChecksumTrait
A trait for cache tag checksum implementations.

Namespace

Drupal\Core\Cache

Code

protected abstract function doInvalidateTags(array $tags);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.