You are here

public function TagsHeaderValue::getTagsMap in Acquia Purge 8

Get an associative array mapping keys.

Return value

array Associative mapping original and hashed cache tags.

File

src/Plugin/Purge/TagsHeader/TagsHeaderValue.php, line 64

Class

TagsHeaderValue
Provides simple value object for cache tag headers.

Namespace

Drupal\acquia_purge\Plugin\Purge\TagsHeader

Code

public function getTagsMap() {
  return array_combine($this->tags, $this->tagsHashed);
}