Add an event before and after tags invalidated

Created on 23 November 2016, over 8 years ago
Updated 6 May 2023, about 2 years ago

Problem/Motivation

I wanted to subscribe to an event after a tag was invalidated

Proposed resolution

add in an event dispatch before and after tags would be invalidated.

Remaining tasks

  • Idea needs to be sanity checked, I am relatively new to Drupal and not sure if this is the best way to achieve this.
  • reviews needed
  • tests to be written or run
  • documentation to be written

User interface changes

none

API changes

Added two new event names
CacheEvents::BEFORE_TAGS_INVALIDATED
CacheEvents::AFTER_TAGS_INVALIDATED

Data model changes

none

Patch to follow

✨ Feature request
Status

Closed: outdated

Version

9.5

Component
CacheΒ  β†’

Last updated 12 days ago

Created by

πŸ‡¦πŸ‡ΊAustralia Gravypower

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024