You are here

public function CacheTagsInvalidatorInterface::invalidateTags in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Cache/CacheTagsInvalidatorInterface.php \Drupal\Core\Cache\CacheTagsInvalidatorInterface::invalidateTags()

Marks cache items with any of the specified tags as invalid.

Parameters

string[] $tags: The list of tags for which to invalidate cache items.

4 methods override CacheTagsInvalidatorInterface::invalidateTags()
BackendChain::invalidateTags in core/lib/Drupal/Core/Cache/BackendChain.php
Marks cache items with any of the specified tags as invalid.
CacheTagsInvalidator::invalidateTags in core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php
Marks cache items with any of the specified tags as invalid.
ChainedFastBackend::invalidateTags in core/lib/Drupal/Core/Cache/ChainedFastBackend.php
Marks cache items with any of the specified tags as invalid.
MemoryBackend::invalidateTags in core/lib/Drupal/Core/Cache/MemoryBackend.php
Marks cache items with any of the specified tags as invalid.

File

core/lib/Drupal/Core/Cache/CacheTagsInvalidatorInterface.php, line 22

Class

CacheTagsInvalidatorInterface
Defines required methods for classes wanting to handle cache tag changes.

Namespace

Drupal\Core\Cache

Code

public function invalidateTags(array $tags);