You are here

public function TestDefaultHtmlRouteProvider::getCanonicalRoute in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php \Drupal\Tests\Core\Entity\Routing\TestDefaultHtmlRouteProvider::getCanonicalRoute()
  2. 9 core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php \Drupal\Tests\Core\Entity\Routing\TestDefaultHtmlRouteProvider::getCanonicalRoute()

File

core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php, line 370
Contains \Drupal\Tests\Core\Entity\Routing\DefaultHtmlRouteProviderTest.

Class

TestDefaultHtmlRouteProvider

Namespace

Drupal\Tests\Core\Entity\Routing

Code

public function getCanonicalRoute(EntityTypeInterface $entity_type) {
  return parent::getCanonicalRoute($entity_type);
}