You are here

protected function RedisCacheTagsChecksum::getTagKey in Redis 8

Return the key for the given cache tag.

Parameters

string $tag: The cache tag.

Return value

string The prefixed cache tag.

File

src/Cache/RedisCacheTagsChecksum.php, line 98

Class

RedisCacheTagsChecksum
Cache tags invalidations checksum implementation that uses redis.

Namespace

Drupal\redis\Cache

Code

protected function getTagKey($tag) {
  return $this
    ->getPrefix() . ':cachetags:' . $tag;
}