public function SendEvent::__construct in Webhooks 8
SendEvent constructor.
Parameters
\Drupal\webhooks\Entity\WebhookConfig $webhook_config: A webhook configuration entity.
\Drupal\webhooks\Webhook $webhook: A webhook.
File
- src/
Event/ SendEvent.php, line 38
Class
- SendEvent
- Class Send Event.
Namespace
Drupal\webhooks\EventCode
public function __construct(WebhookConfig $webhook_config, Webhook $webhook) {
$this->webhookConfig = $webhook_config;
$this->webhook = $webhook;
}