You are here

public function EntityTypeParamConverter::__construct in Synonyms 2.0.x

Same name and namespace in other branches
  1. 8 src/ParamConverter/EntityTypeParamConverter.php \Drupal\synonyms\ParamConverter\EntityTypeParamConverter::__construct()

EntityTypeParamConverter constructor.

File

src/ParamConverter/EntityTypeParamConverter.php, line 24

Class

EntityTypeParamConverter
Param converter service for entity types.

Namespace

Drupal\synonyms\ParamConverter

Code

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