interface CacheTagsInvalidatorInterface

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

Services that implement this interface must add the cache_tags_invalidator tag to be notified. Cache backends may implement this interface as well, they will be notified automatically.

Hierarchy

Related topics

Cache API
Information about the Drupal Cache API

File

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

Namespace

Drupal\Core\Cache

Members

Name Modifiers Type Description
CacheTagsInvalidatorInterface::invalidateTags public function Marks cache items with any of the specified tags as invalid.

© 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/interface/CacheTagsInvalidatorInterface/8.1.x