- Issue created by @jeffreysmattson
- last update
11 months ago 4 pass, 6 fail - Status changed to Closed: duplicate
9 months ago 11:32am 12 March 2024
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.
Closed: duplicate
1.1
Code