public function RouteSubscriber::__construct in Lightning Core 8.4
Same name and namespace in other branches
- 8.5 src/Routing/RouteSubscriber.php \Drupal\lightning_core\Routing\RouteSubscriber::__construct()
- 8 src/Routing/RouteSubscriber.php \Drupal\lightning_core\Routing\RouteSubscriber::__construct()
- 8.2 src/Routing/RouteSubscriber.php \Drupal\lightning_core\Routing\RouteSubscriber::__construct()
- 8.3 src/Routing/RouteSubscriber.php \Drupal\lightning_core\Routing\RouteSubscriber::__construct()
RouteSubscriber constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.
File
- src/
Routing/ RouteSubscriber.php, line 31
Class
- RouteSubscriber
- Dynamically alters various routes.
Namespace
Drupal\lightning_core\RoutingCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}