Search for getRoute

  1. Search 7.x for getRoute
  2. Search 8.9.x for getRoute
  3. Search 10.3.x for getRoute
  4. Search 11.x for getRoute
  5. Other projects
Title Object type File name Summary
MenuLinkInterface::getRouteParameters function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the route parameters, if available.
MetadataBubblingUrlGenerator::getRouteDebugMessage function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php
MockRouteProvider::getRouteByName function core/modules/system/src/Tests/Routing/MockRouteProvider.php Find the route using the provided route name.
MockRouteProvider::getRouteCollectionForRequest function core/modules/system/src/Tests/Routing/MockRouteProvider.php Implements \Drupal\Core\Routing\RouteProviderInterface::getRouteCollectionForRequest().
MockRouteProvider::getRoutesByNames function core/modules/system/src/Tests/Routing/MockRouteProvider.php Find many routes by their names using the provided list of names.
MockRouteProvider::getRoutesByPattern function core/modules/system/src/Tests/Routing/MockRouteProvider.php Get all routes which match a certain pattern.
NodeRouteProvider::getRoutes function core/modules/node/src/Entity/NodeRouteProvider.php Provides routes for entities.
NullGenerator::getRoute function core/lib/Drupal/Core/Routing/NullGenerator.php Methods generate(), generateFromRoute() and getPathFromRoute() all call
this protected method.
NullMatcherDumper::getRoutes function core/lib/Drupal/Core/Routing/NullMatcherDumper.php Gets the routes to match.
NullRouteMatch::getRouteName function core/lib/Drupal/Core/Routing/NullRouteMatch.php Returns the route name.
NullRouteMatch::getRouteObject function core/lib/Drupal/Core/Routing/NullRouteMatch.php Returns the route object.
Page::getRoute function core/modules/views/src/Plugin/views/display/Page.php Generates a route entry for a given view and display.
PageDisplayVariantSelectionEvent::getRouteMatch function core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php Gets the current route match.
ParamNotConvertedException::getRouteName function core/lib/Drupal/Core/ParamConverter/ParamNotConvertedException.php Get the route name that was not converted.
PathPluginBase::getRoute function core/modules/views/src/Plugin/views/display/PathPluginBase.php Generates a route entry for a given view and display.
PathPluginBase::getRouteName function core/modules/views/src/Plugin/views/display/PathPluginBase.php Returns the route name for the display.
PathPluginBaseTest::testGetRouteName function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the getRouteName method.
ResourceRoutes::getRoutesForResourceConfig function core/modules/rest/src/Routing/ResourceRoutes.php Provides all routes for a given REST resource config.
RouteBuilder::getRouteDefinitions function core/lib/Drupal/Core/Routing/RouteBuilder.php Retrieves all defined routes from .routing.yml files.
RouteBuildEvent::getRouteCollection function core/lib/Drupal/Core/Routing/RouteBuildEvent.php Gets the route collection.
RouteMatch::getRouteName function core/lib/Drupal/Core/Routing/RouteMatch.php Returns the route name.
RouteMatch::getRouteObject function core/lib/Drupal/Core/Routing/RouteMatch.php Returns the route object.
RouteMatchInterface::getRouteName function core/lib/Drupal/Core/Routing/RouteMatchInterface.php Returns the route name.
RouteMatchInterface::getRouteObject function core/lib/Drupal/Core/Routing/RouteMatchInterface.php Returns the route object.
RouteMatchTest::getRouteMatch function core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php Build a test route match object for the given implementation.
RouteMatchTestBase::getRouteMatch function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php Build a test route match object for the given implementation.
RouteMatchTestBase::testGetRouteName function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php @covers ::getRouteName
@dataProvider routeMatchProvider
RouteMatchTestBase::testGetRouteObject function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php @covers ::getRouteObject
@dataProvider routeMatchProvider
RouteProvider::getRouteByName function core/tests/Drupal/KernelTests/RouteProvider.php Find the route using the provided route name.
RouteProvider::getRouteByName function core/lib/Drupal/Core/Routing/RouteProvider.php Find the route using the provided route name.
RouteProvider::getRouteCollectionCacheId function core/lib/Drupal/Core/Routing/RouteProvider.php Returns the cache ID for the route collection cache.
RouteProvider::getRouteCollectionForRequest function core/tests/Drupal/KernelTests/RouteProvider.php Finds routes that may potentially match the request.
RouteProvider::getRouteCollectionForRequest function core/lib/Drupal/Core/Routing/RouteProvider.php Finds routes that may potentially match the request.
RouteProvider::getRoutesByNames function core/tests/Drupal/KernelTests/RouteProvider.php Find many routes by their names using the provided list of names.
RouteProvider::getRoutesByNames function core/lib/Drupal/Core/Routing/RouteProvider.php Find many routes by their names using the provided list of names.
RouteProvider::getRoutesByPath function core/lib/Drupal/Core/Routing/RouteProvider.php Get all routes which match a certain pattern.
RouteProvider::getRoutesByPattern function core/tests/Drupal/KernelTests/RouteProvider.php Get all routes which match a certain pattern.
RouteProvider::getRoutesByPattern function core/lib/Drupal/Core/Routing/RouteProvider.php Get all routes which match a certain pattern.
RouteProvider::getRoutesCount function core/lib/Drupal/Core/Routing/RouteProvider.php Gets the total count of routes provided by the router.
RouteProvider::getRoutesPaged function core/lib/Drupal/Core/Routing/RouteProvider.php Returns a chunk of routes.
RouteProviderInterface::getRouteByName function core/lib/Drupal/Core/Routing/RouteProviderInterface.php Find the route using the provided route name.
RouteProviderInterface::getRouteCollectionForRequest function core/lib/Drupal/Core/Routing/RouteProviderInterface.php Finds routes that may potentially match the request.
RouteProviderInterface::getRoutesByNames function core/lib/Drupal/Core/Routing/RouteProviderInterface.php Find many routes by their names using the provided list of names.
RouteProviderInterface::getRoutesByPattern function core/lib/Drupal/Core/Routing/RouteProviderInterface.php Get all routes which match a certain pattern.
RouteProviderLazyBuilder::getRouteByName function core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php Find the route using the provided route name.
RouteProviderLazyBuilder::getRouteCollectionForRequest function core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php Finds routes that may potentially match the request.
RouteProviderLazyBuilder::getRouteProvider function core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php Gets the real route provider service and rebuilds the router id necessary.
RouteProviderLazyBuilder::getRoutesByNames function core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php Find many routes by their names using the provided list of names.
RouteProviderLazyBuilder::getRoutesByPattern function core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php Get all routes which match a certain pattern.
RouteProviderLazyBuilder::getRoutesCount function core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php Gets the total count of routes provided by the router.

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