You are here

public function CacheTagsInvalidatorInterface::invalidateTags in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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.

5 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.
DatabaseCacheTagsChecksum::invalidateTags in core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.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 27
Contains \Drupal\Core\Cache\CacheTagsInvalidatorInterface.

Class

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

Namespace

Drupal\Core\Cache

Code

public function invalidateTags(array $tags);