Create Event Dispatch when Subscription Deleted or Unsubscribed

Created on 6 December 2022, about 2 years ago
Updated 15 April 2023, over 1 year ago

Problem/Motivation

There is no way for a custom module to register an Event Subscriber to the action of a subscription being deleted and unsubscribed. For my particular use case I need my custom module to delete the content that was downloaded when the subscription is cancelled or the content on the Hub site is deleted or unpublished. Having an event fire at this time would allow me to customize this behavior.

Proposed resolution

Add an event and event dispatch to the entity_share_websub_subscriber module so other modules can connect to this action.

✨ Feature request
Status

Needs work

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jeffreysmattson

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

Merge Requests

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