public function RouteSubscriber::__construct in Field Group 8.3
Same name and namespace in other branches
- 8 src/Routing/RouteSubscriber.php \Drupal\field_group\Routing\RouteSubscriber::__construct()
Constructs a RouteSubscriber object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- src/
Routing/ RouteSubscriber.php, line 29
Class
- RouteSubscriber
- Subscriber for Field group routes.
Namespace
Drupal\field_group\RoutingCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}