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\EventSubscriberCode
public function __construct(MessengerInterface $messenger) {
$this->messenger = $messenger;
}