Search for getRoute

  1. Search 7.x for getRoute
  2. Search 9.5.x for getRoute
  3. Search 8.9.x for getRoute
  4. Search 11.x for getRoute
  5. Other projects
Title Object type File name Summary
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.
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 Gets either the route name or a string based on the route object.
UrlGenerator::getRouteStringIdentifier function core/lib/Drupal/Core/Routing/UrlGenerator.php Gets either the route name or a string based on the route object.
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.