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.
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