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\EntityManagerInterface $manager: The entity type manager.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\flexiform\FormComponentTypePluginManager $form_component_type_manager: The form component type manager.
Overrides RouteSubscriber::__construct
File
- src/
Routing/ RouteSubscriber.php, line 42
Class
- RouteSubscriber
- Subscriber for flexiform ui routes.
Namespace
Drupal\flexiform\RoutingCode
public function __construct(EntityManagerInterface $manager, EntityTypeManagerInterface $entity_type_manager, FormComponentTypePluginManager $form_component_type_manager) {
parent::__construct($manager);
$this->entityTypeManager = $entity_type_manager;
$this->formComponentTypeManager = $form_component_type_manager;
}