You are here

public function WebhookSubscriber::__construct in Webhooks 8

Constructs event subscriber.

Parameters

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.

File

modules/webhook/src/EventSubscriber/WebhookSubscriber.php, line 33

Class

WebhookSubscriber
Webhook event subscriber.

Namespace

Drupal\webhook\EventSubscriber

Code

public function __construct(MessengerInterface $messenger) {
  $this->messenger = $messenger;
}