You are here

public function TemplateEditForm::__construct in Courier 8

Same name and namespace in other branches
  1. 2.x src/Form/TemplateEditForm.php \Drupal\courier\Form\TemplateEditForm::__construct()

Constructs a MessageForm object.

Parameters

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

\Drupal\courier\Service\IdentityChannelManagerInterface $identity_channel_manager: The identity channel manager.

\Drupal\courier\Service\CourierManagerInterface $courier_manager: The courier manager.

File

src/Form/TemplateEditForm.php, line 52

Class

TemplateEditForm
Create a message.

Namespace

Drupal\courier\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, IdentityChannelManagerInterface $identity_channel_manager, CourierManagerInterface $courier_manager) {
  $this->entityTypeManager = $entity_type_manager;
  $this->identityChannelManager = $identity_channel_manager;
  $this->courierManager = $courier_manager;
}