protected function EntitySubqueueRouteProvider::getCanonicalRoute in Entityqueue 8
Gets the canonical route.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type.
Return value
\Symfony\Component\Routing\Route|null The generated route, if available.
Overrides DefaultHtmlRouteProvider::getCanonicalRoute
File
- src/
Routing/ EntitySubqueueRouteProvider.php, line 16
Class
- EntitySubqueueRouteProvider
- Provides HTML routes for entity subqueues.
Namespace
Drupal\entityqueue\RoutingCode
protected function getCanonicalRoute(EntityTypeInterface $entity_type) {
return parent::getEditFormRoute($entity_type);
}