You are here

public function RouteSubscriber::__construct in Token 8

File

src/Routing/RouteSubscriber.php, line 27

Class

RouteSubscriber
Subscriber for Devel routes.

Namespace

Drupal\token\Routing

Code

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