You are here

public function CourierChannelConverter::__construct in Courier 2.x

Same name in this branch
  1. 2.x src/ParamConverter/CourierChannelConverter.php \Drupal\courier\ParamConverter\CourierChannelConverter::__construct()
  2. 2.x src/ProxyClass/ParamConverter/CourierChannelConverter.php \Drupal\courier\ProxyClass\ParamConverter\CourierChannelConverter::__construct()
Same name and namespace in other branches
  1. 8 src/ParamConverter/CourierChannelConverter.php \Drupal\courier\ParamConverter\CourierChannelConverter::__construct()

Constructs a new CourierChannelConverter.

Parameters

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

File

src/ParamConverter/CourierChannelConverter.php, line 28

Class

CourierChannelConverter
Provides upcasting for a courier channel entity type ID.

Namespace

Drupal\courier\ParamConverter

Code

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