public function DefaultHtmlRouteProvider::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/Routing/DefaultHtmlRouteProvider.php \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider::__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.
1 call to DefaultHtmlRouteProvider::__construct()
- MediaRouteProvider::__construct in core/
modules/ media/ src/ Routing/ MediaRouteProvider.php - Constructs a new DefaultHtmlRouteProvider.
1 method overrides DefaultHtmlRouteProvider::__construct()
- MediaRouteProvider::__construct in core/
modules/ media/ src/ Routing/ MediaRouteProvider.php - Constructs a new DefaultHtmlRouteProvider.
File
- core/
lib/ Drupal/ Core/ Entity/ Routing/ DefaultHtmlRouteProvider.php, line 55
Class
- DefaultHtmlRouteProvider
- Provides HTML routes for entities.
Namespace
Drupal\Core\Entity\RoutingCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityFieldManagerInterface $entity_field_manager) {
$this->entityTypeManager = $entity_type_manager;
$this->entityFieldManager = $entity_field_manager;
}