Implements Drupal\Core\Cache\CacheBackendInterface::invalidateTags().
Overrides CacheBackendInterface::invalidateTags
public function invalidateTags(array $tags) {
$flat_tags = $this
->flattenTags($tags);
foreach ($this->cache as $cid => $item) {
if (array_intersect($flat_tags, $item->tags)) {
$this->cache[$cid]->expire = REQUEST_TIME - 1;
}
}
}