You are here

public function CourierMessageController::__construct in Courier 8

Same name and namespace in other branches
  1. 2.x courier_message_composer/src/Controller/CourierMessageController.php \Drupal\courier_message_composer\Controller\CourierMessageController::__construct()

Constructs a CourierMessageController object.

Parameters

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

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

File

courier_message_composer/src/Controller/CourierMessageController.php, line 39

Class

CourierMessageController
Returns responses for CourierMessageController routes.

Namespace

Drupal\courier_message_composer\Controller

Code

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