function CacheTagsChecksumInterface::getCurrentChecksum

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Cache/CacheTagsChecksumInterface.php \Drupal\Core\Cache\CacheTagsChecksumInterface::getCurrentChecksum()
  2. 10 core/lib/Drupal/Core/Cache/CacheTagsChecksumInterface.php \Drupal\Core\Cache\CacheTagsChecksumInterface::getCurrentChecksum()
  3. 11.x core/lib/Drupal/Core/Cache/CacheTagsChecksumInterface.php \Drupal\Core\Cache\CacheTagsChecksumInterface::getCurrentChecksum()

Returns the sum total of validations for a given set of tags.

Called by a backend when storing a cache item.

Parameters

string[] $tags: Array of cache tags.

Return value

string Cache tag invalidations checksum.

File

core/lib/Drupal/Core/Cache/CacheTagsChecksumInterface.php, line 49

Class

CacheTagsChecksumInterface
Provides checksums for cache tag invalidations.

Namespace

Drupal\Core\Cache

Code

public function getCurrentChecksum(array $tags);

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