public function RouteSubscriber::__construct in Devel 8
Same name and namespace in other branches
- 8.3 src/Routing/RouteSubscriber.php \Drupal\devel\Routing\RouteSubscriber::__construct()
- 8.2 src/Routing/RouteSubscriber.php \Drupal\devel\Routing\RouteSubscriber::__construct()
- 4.x src/Routing/RouteSubscriber.php \Drupal\devel\Routing\RouteSubscriber::__construct()
Constructs a new RouteSubscriber object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity type manager.
File
- src/
Routing/ RouteSubscriber.php, line 33
Class
- RouteSubscriber
- Subscriber for Devel routes.
Namespace
Drupal\devel\RoutingCode
public function __construct(EntityTypeManagerInterface $entity_manager) {
$this->entityTypeManager = $entity_manager;
}