You are here

public function MessageForm::__construct in Courier 2.x

Same name and namespace in other branches
  1. 8 courier_message_composer/src/Form/MessageForm.php \Drupal\courier_message_composer\Form\MessageForm::__construct()

Constructs a MessageForm object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: 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

courier_message_composer/src/Form/MessageForm.php, line 65

Class

MessageForm
Create a message.

Namespace

Drupal\courier_message_composer\Form

Code

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