You are here

public function CourierChannelConverter::__construct in Courier 8

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

Constructs a new EntityConverter.

Parameters

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

File

src/ParamConverter/CourierChannelConverter.php, line 27

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;
}