You are here

public function EntityRevisionParamConverter::__construct in Entity API 8.0

Creates a new EntityRevisionParamConverter instance.

Parameters

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

File

src/ParamConverter/EntityRevisionParamConverter.php, line 33
Contains \Drupal\entity\ParamConverter\EntityRevisionParamConverter.

Class

EntityRevisionParamConverter
Parameter converter for single revisions.

Namespace

Drupal\entity\ParamConverter

Code

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