public function RouteSubscriber::__construct in Display Suite 8.3
Same name in this branch
- 8.3 src/Routing/RouteSubscriber.php \Drupal\ds\Routing\RouteSubscriber::__construct()
- 8.3 modules/ds_devel/src/Routing/RouteSubscriber.php \Drupal\ds_devel\Routing\RouteSubscriber::__construct()
Same name and namespace in other branches
- 8.4 modules/ds_devel/src/Routing/RouteSubscriber.php \Drupal\ds_devel\Routing\RouteSubscriber::__construct()
- 8.2 modules/ds_devel/src/Routing/RouteSubscriber.php \Drupal\ds_devel\Routing\RouteSubscriber::__construct()
Constructs a new RouteSubscriber object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- modules/
ds_devel/ src/ Routing/ RouteSubscriber.php, line 29
Class
- RouteSubscriber
- Subscriber for Devel routes.
Namespace
Drupal\ds_devel\RoutingCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}