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
- interface \Drupal\Core\Cache\CacheTagsInvalidatorInterface
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. |
Please login to continue.