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
RouteProviderLazyBuilder::getRoutesPaged function core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php Returns a chunk of routes.
RouteProviderTest::testGetRoutesByPatternWithLongPatterns function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Ensures that the routing system is capable of extreme long patterns.
RouteProviderTest::testGetRoutesCount function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Tests getRoutesCount().
RouteProviderTest::testGetRoutesPaged function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Tests getRoutesPaged().
Router::getRouteCollection function core/lib/Drupal/Core/Routing/Router.php
Routes::getRouteName function core/modules/jsonapi/src/Routing/Routes.php Get a unique route name for the JSON:API resource type and route type.
Routes::getRoutesForResourceType function core/modules/jsonapi/src/Routing/Routes.php Gets applicable resource routes for a JSON:API resource type.
StackedRouteMatchInterface::getRouteMatchFromRequest function core/lib/Drupal/Core/Routing/StackedRouteMatchInterface.php Returns a route match from a given request, if possible.
SupernovaGenerator::getRouteDebugMessage function core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php
TestRouteBuilder::getRouteDefinitions function core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php Retrieves all defined routes from .routing.yml files.
Tour::getRoutes function core/modules/tour/src/Entity/Tour.php The routes that this tour will appear on.
TourInterface::getRoutes function core/modules/tour/src/TourInterface.php The routes that this tour will appear on.
UnroutedUrlTest::testGetRouteName function core/tests/Drupal/Tests/Core/UnroutedUrlTest.php Tests the getRouteName() method.
UnroutedUrlTest::testGetRouteParameters function core/tests/Drupal/Tests/Core/UnroutedUrlTest.php Tests the getRouteParameters() method.
Url::getRouteName function core/lib/Drupal/Core/Url.php Returns the route name.
Url::getRouteParameters function core/lib/Drupal/Core/Url.php Returns the route parameters.
UrlGenerator::getRoute function core/lib/Drupal/Core/Routing/UrlGenerator.php Find the route using the provided route name.
UrlGenerator::getRouteDebugMessage function core/lib/Drupal/Core/Routing/UrlGenerator.php
UrlTest::testGetRouteName function core/tests/Drupal/Tests/Core/UrlTest.php Tests the getRouteName() method.
UrlTest::testGetRouteNameWithExternalUrl function core/tests/Drupal/Tests/Core/UrlTest.php Tests the getRouteName() with an external URL.
UrlTest::testGetRouteParameters function core/tests/Drupal/Tests/Core/UrlTest.php Tests the getRouteParameters() method.
UrlTest::testGetRouteParametersWithExternalUrl function core/tests/Drupal/Tests/Core/UrlTest.php Tests the getRouteParameters() with an external URL.
UserRouteProvider::getRoutes function core/modules/user/src/Entity/UserRouteProvider.php Provides routes for entities.
UserTrackerTab::getRouteParameters function core/modules/tracker/src/Plugin/Menu/UserTrackerTab.php Returns the route parameters needed to render a link for the local task.
VocabularyRouteProvider::getRoutes function core/modules/taxonomy/src/Entity/Routing/VocabularyRouteProvider.php Provides routes for entities.

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