Search for getRoute

  1. Search 7.x for getRoute
  2. Search 9.5.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
MetadataBubblingUrlGenerator::getRouteDebugMessage function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php
MockRouteProvider::getRouteByName function core/modules/system/src/Tests/Routing/MockRouteProvider.php
MockRouteProvider::getRouteCollectionForRequest function core/modules/system/src/Tests/Routing/MockRouteProvider.php Implements \Symfony\Cmf\Component\Routing\RouteProviderInterface::getRouteCollectionForRequest().
MockRouteProvider::getRoutesByNames function core/modules/system/src/Tests/Routing/MockRouteProvider.php
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.
RestResourceGetRouteProcessorBC class core/modules/rest/src/RouteProcessor/RestResourceGetRouteProcessorBC.php Processes the BC REST routes, to ensure old route names continue to work.
RestResourceGetRouteProcessorBC.php file core/modules/rest/src/RouteProcessor/RestResourceGetRouteProcessorBC.php
RestResourceGetRouteProcessorBC::$routeProvider property core/modules/rest/src/RouteProcessor/RestResourceGetRouteProcessorBC.php The route provider.
RestResourceGetRouteProcessorBC::$serializerFormats property core/modules/rest/src/RouteProcessor/RestResourceGetRouteProcessorBC.php The available serialization formats.
RestResourceGetRouteProcessorBC::overwriteRoute function core/modules/rest/src/RouteProcessor/RestResourceGetRouteProcessorBC.php Overwrites one route's metadata with the other's.
RestResourceGetRouteProcessorBC::processOutbound function core/modules/rest/src/RouteProcessor/RestResourceGetRouteProcessorBC.php Processes the outbound route.
RestResourceGetRouteProcessorBC::__construct function core/modules/rest/src/RouteProcessor/RestResourceGetRouteProcessorBC.php Constructs a RestResourceGetRouteProcessorBC object.
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
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
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
RouteProvider::getRoutesByNames function core/lib/Drupal/Core/Routing/RouteProvider.php
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/tests/Drupal/KernelTests/RouteProvider.php
RouteProvider::getRoutesCount function core/lib/Drupal/Core/Routing/RouteProvider.php
RouteProvider::getRoutesPaged function core/tests/Drupal/KernelTests/RouteProvider.php
RouteProvider::getRoutesPaged function core/lib/Drupal/Core/Routing/RouteProvider.php
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

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