You are here

public function CacheTagsChecksumInterface::getCurrentChecksum in Drupal 8

Same name and namespace in other branches
  1. 9 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);