You are here

constant WebhookEvents::RECEIVE in Webhooks 8

Name of the event fired when a webhook is received.

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

File

src/Event/WebhookEvents.php, line 33

Class

WebhookEvents
Class Webhook Events.

Namespace

Drupal\webhooks\Event

Code

const RECEIVE = 'webhook.receive';