You are here

public function WebhookDispatcherInterface::send in Webhooks 8

Send a webhook.

Parameters

\Drupal\webhooks\Entity\WebhookConfig $webhook_config: A webhook config entity.

\Drupal\webhooks\Webhook $webhook: A webhook object.

1 method overrides WebhookDispatcherInterface::send()
WebhooksService::send in src/WebhooksService.php
Send a webhook.

File

src/WebhookDispatcherInterface.php, line 47

Class

WebhookDispatcherInterface
Webhook dispatchers control triggering outbound webhook events.

Namespace

Drupal\webhooks

Code

public function send(WebhookConfig $webhook_config, Webhook $webhook);