function RouteSubscriber::__construct

Constructs a new RouteSubscriber object.

Parameters

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

\Drupal\Core\Routing\RouteProviderInterface $routeProvider: The router service.

File

src/Routing/RouteSubscriber.php, line 30

Class

RouteSubscriber
Subscriber for Devel routes.

Namespace

Drupal\devel\Routing

Code

public function __construct(protected EntityTypeManagerInterface $entityTypeManager, protected RouteProviderInterface $routeProvider) {
}