You are here

public function WebhooksCommands::__construct in Webhooks 8

Webhooks Commands constructor.

Parameters

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

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

File

src/Commands/WebhooksCommands.php, line 42

Class

WebhooksCommands
The webhooks Drush commandfile.

Namespace

Drupal\webhooks\Commands

Code

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