You are here

public function WebhookConfigForm::__construct in Webhooks 8

Webhook Config Form constructor.

Parameters

\Drupal\webhooks\WebhooksService $webhookService: The webhook service.

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The module handler service.

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.

File

src/Form/WebhookConfigForm.php, line 84

Class

WebhookConfigForm
Class Webhook Config Form.

Namespace

Drupal\webhooks\Form

Code

public function __construct(WebhooksService $webhookService, ModuleHandlerInterface $moduleHandler, EntityTypeManagerInterface $entityTypeManager) {
  $this->webhookService = $webhookService;
  $this->moduleHandler = $moduleHandler;
  $this->entityTypeManager = $entityTypeManager;
}