Search for getCanonical

  1. Search 7.x for getCanonical
  2. Search 9.5.x for getCanonical
  3. Search 8.9.x for getCanonical
  4. Search 10.3.x for getCanonical
  5. Other projects
Title Object type File name Summary
DefaultHtmlRouteProvider::getCanonicalRoute function core/lib/Drupal/Core/Entity/Routing/DefaultHtmlRouteProvider.php Gets the canonical route.
DefaultHtmlRouteProviderTest::providerTestGetCanonicalRoute function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php
DefaultHtmlRouteProviderTest::testGetCanonicalRoute function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php @covers ::getCanonicalRoute
@dataProvider providerTestGetCanonicalRoute
EntityRepository::getCanonical function core/lib/Drupal/Core/Entity/EntityRepository.php Retrieves the canonical entity variant matching the specified context.
EntityRepository::getCanonicalMultiple function core/lib/Drupal/Core/Entity/EntityRepository.php Retrieves the canonical entity variants matching the specified context.
EntityRepositoryInterface::getCanonical function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Retrieves the canonical entity variant matching the specified context.
EntityRepositoryInterface::getCanonicalMultiple function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Retrieves the canonical entity variants matching the specified context.
EntityRepositoryTest::testGetCanonical function core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php Tests retrieving canonical variants.
MediaRouteProvider::getCanonicalRoute function core/modules/media/src/Routing/MediaRouteProvider.php Gets the canonical route.
TestDefaultHtmlRouteProvider::getCanonicalRoute function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php Gets the canonical route.
TypedDataManager::getCanonicalRepresentation function core/lib/Drupal/Core/TypedData/TypedDataManager.php Gets the canonical representation of a TypedData object.
TypedDataManagerInterface::getCanonicalRepresentation function core/lib/Drupal/Core/TypedData/TypedDataManagerInterface.php Gets the canonical representation of a TypedData object.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.