Add notification signal (Z:#23127501) (#3725)

* Add and send signal for refund requests

* Add and send signal for notifications

* Revert changes

* Fix typo

Co-authored-by: Mira <weller@rami.io>

* Document parameters

---------

Co-authored-by: Mira <weller@rami.io>
This commit is contained in:
Phin Wolkwitz
2023-11-20 11:33:12 +01:00
committed by GitHub
parent 78acd8d118
commit 78609613bc
2 changed files with 12 additions and 0 deletions

View File

@@ -279,6 +279,15 @@ however for this signal, the ``sender`` **may also be None** to allow creating t
notification settings!
"""
notification = EventPluginSignal()
"""
Arguments: ``logentry_id``, ``notification_type``
This signal is sent out when a notification is sent.
As with all event-plugin signals, the ``sender`` keyword argument will contain the event.
"""
register_sales_channels = django.dispatch.Signal()
"""
This signal is sent out to get all known sales channels types. Receivers should return an