public function WebhookDispatcher::__construct in Webhooks 8
WebhookDispatcherBase constructor.
Parameters
\Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher $event_dispatcher: The event dispathcer.
Overrides PluginBase::__construct
File
- src/
Plugin/ QueueWorker/ WebhookDispatcher.php, line 37
Class
- WebhookDispatcher
- A Webhook dispatcher that dispatches webhooks on CRON run.
Namespace
Drupal\webhooks\Plugin\QueueWorkerCode
public function __construct(ContainerAwareEventDispatcher $event_dispatcher) {
$this->eventDispatcher = $event_dispatcher;
}