public function CacheTagsInvalidatorInterface::invalidateTags

public CacheTagsInvalidatorInterface::invalidateTags(array $tags)

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

Parameters

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

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);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Cache!CacheTagsInvalidatorInterface.php/function/CacheTagsInvalidatorInterface::invalidateTags/8.1.x