public function CacheTagsChecksumInterface::getCurrentChecksum

public CacheTagsChecksumInterface::getCurrentChecksum(array $tags)

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 32

Class

CacheTagsChecksumInterface
Provides checksums for cache tag invalidations.

Namespace

Drupal\Core\Cache

Code

public function getCurrentChecksum(array $tags);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Cache!CacheTagsChecksumInterface.php/function/CacheTagsChecksumInterface::getCurrentChecksum/8.1.x