You are here

public function PrintEngineExceptionSubscriber::__construct in Entity Print 8.2

PrintEngineExceptionSubscriber constructor.

Parameters

\Drupal\Core\Routing\RouteMatchInterface $routeMatch: Route match service.

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: Entity type manager.

File

src/EventSubscriber/PrintEngineExceptionSubscriber.php, line 42

Class

PrintEngineExceptionSubscriber
Exception event subscriber.

Namespace

Drupal\entity_print\EventSubscriber

Code

public function __construct(RouteMatchInterface $routeMatch, EntityTypeManagerInterface $entityTypeManager) {
  $this->routeMatch = $routeMatch;
  $this->entityTypeManager = $entityTypeManager;
}