CacheTagsChecksumTrait::$invalidatedTags

Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php \Drupal\Core\Cache\CacheTagsChecksumTrait::invalidatedTags
  2. 10 core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php \Drupal\Core\Cache\CacheTagsChecksumTrait::invalidatedTags
  3. 11.x core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php \Drupal\Core\Cache\CacheTagsChecksumTrait::invalidatedTags

A list of tags that have already been invalidated in this request.

Used to prevent the invalidation of the same cache tag multiple times.

Type: bool[]

File

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

Class

CacheTagsChecksumTrait
A trait for cache tag checksum implementations.

Namespace

Drupal\Core\Cache

Code

protected $invalidatedTags = [];

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