You are here

constant WebhookEvents::SEND in Webhooks 8

Name of the event fired when a webhook is sent.

This event allows modules to perform an action whenever a webhook is sent. The event listener method receives a \Drupal\webhooks\Event\SendEvent instance.

File

src/Event/WebhookEvents.php, line 21

Class

WebhookEvents
Class Webhook Events.

Namespace

Drupal\webhooks\Event

Code

const SEND = 'webhook.send';