public function RouteSubscriber::__construct in Flexiform 8
Same name in this branch
- 8 src/Routing/RouteSubscriber.php \Drupal\flexiform\Routing\RouteSubscriber::__construct()
- 8 contrib/wizard/src/Routing/RouteSubscriber.php \Drupal\flexiform_wizard\Routing\RouteSubscriber::__construct()
Constructs a RouteSubscriber object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- contrib/
wizard/ src/ Routing/ RouteSubscriber.php, line 28
Class
- RouteSubscriber
- Subscriber for wizard routes.
Namespace
Drupal\flexiform_wizard\RoutingCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}