public function EntityHierarchyRouteProvider::__construct in Entity Reference Hierarchy 3.x
Same name and namespace in other branches
- 8.2 src/Routing/EntityHierarchyRouteProvider.php \Drupal\entity_hierarchy\Routing\EntityHierarchyRouteProvider::__construct()
Constructs a new DefaultHtmlRouteProvider.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.
File
- src/
Routing/ EntityHierarchyRouteProvider.php, line 43
Class
- EntityHierarchyRouteProvider
- Defines a class for providing route definitions for hierarchy entities.
Namespace
Drupal\entity_hierarchy\RoutingCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityFieldManagerInterface $entity_field_manager) {
$this->entityTypeManager = $entity_type_manager;
$this->entityFieldManager = $entity_field_manager;
}