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 10.3.x for getRoute
  5. Other projects
Title Object type File name Summary
AccessAwareRouter::getRouteCollection function core/lib/Drupal/Core/Routing/AccessAwareRouter.php
ConfigMapperPopulateEvent::getRouteMatch function core/modules/config_translation/src/Event/ConfigMapperPopulateEvent.php Gets the route match this event is related to.
ContextualLinkDefault::getRouteName function core/lib/Drupal/Core/Menu/ContextualLinkDefault.php Returns the route name of the contextual link.
ContextualLinkDefaultTest::testGetRouteName function core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php @covers ::getRouteName[[api-linebreak]]
ContextualLinkInterface::getRouteName function core/lib/Drupal/Core/Menu/ContextualLinkInterface.php Returns the route name of the contextual link.
CurrentRouteMatch::getRouteMatch function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Returns the route match for a passed in request.
CurrentRouteMatch::getRouteMatchFromRequest function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Returns a route match from a given request, if possible.
CurrentRouteMatch::getRouteName function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Returns the route name.
CurrentRouteMatch::getRouteObject function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Returns the route object.
CurrentRouteMatchTest::getRouteMatch function core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php Build a test route match object for the given implementation.
CurrentRouteMatchTest::testGetRouteMatchFromRequest function core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php @covers ::getRouteMatchFromRequest[[api-linebreak]]
CurrentRouteMatchTest::testGetRouteMatchFromRequestWithRouting function core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php @covers ::getRouteMatchFromRequest[[api-linebreak]]
DefaultHtmlRouteProvider::getRoutes function core/lib/Drupal/Core/Entity/Routing/DefaultHtmlRouteProvider.php Provides routes for entities.
DefaultsSectionStorage::getRouteParameters function core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php Provides the route parameters needed to generate a URL for this object.
DisplayPluginBase::getRoutedDisplay function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Points to the display which can be linked by this display.
DisplayPluginInterface::getRoutedDisplay function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Points to the display which can be linked by this display.
DisplayRouterInterface::getRouteName function core/modules/views/src/Plugin/views/display/DisplayRouterInterface.php Returns the route name for the display.
DynamicMenuLinkMock::getRouteName function core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php Returns the route name, if available.
EntityModerationRouteProvider::getRoutes function core/modules/content_moderation/src/Entity/Routing/EntityModerationRouteProvider.php Provides routes for entities.
EntityPermissionsRouteProvider::getRoutes function core/modules/user/src/Entity/EntityPermissionsRouteProvider.php Provides routes for entities.
EntityRouteProviderInterface::getRoutes function core/lib/Drupal/Core/Entity/Routing/EntityRouteProviderInterface.php Provides routes for entities.
EntityType::getRouteProviderClasses function core/lib/Drupal/Core/Entity/EntityType.php Gets all the route provide handlers.
EntityTypeInterface::getRouteProviderClasses function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets all the route provide handlers.
EntityTypeManager::getRouteProviders function core/lib/Drupal/Core/Entity/EntityTypeManager.php Gets all route provider instances.
EntityTypeManagerInterface::getRouteProviders function core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php Gets all route provider instances.
EntityTypeManagerTest::testGetRouteProviders function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php @covers ::getRouteProviders[[api-linebreak]]
FieldUI::getRouteBundleParameter function core/modules/field_ui/src/FieldUI.php Gets the route parameter that should be used for Field UI routes.
FileRouteProvider::getRoutes function core/modules/file/src/Entity/FileRouteProvider.php Provides routes for entities.
FormBase::getRouteMatch function core/lib/Drupal/Core/Form/FormBase.php Gets the route match.
HelpTwigExtension::getRouteLink function core/modules/help/src/HelpTwigExtension.php Returns a link or plain text, given text, route name, and parameters.
InstallerRouteBuilder::getRouteDefinitions function core/lib/Drupal/Core/Installer/InstallerRouteBuilder.php Overridden to return no routes.
InstallerRouteProviderLazyBuilder::getRouteByName function core/lib/Drupal/Core/Installer/InstallerRouteProviderLazyBuilder.php Find the route using the provided route name.
LocalActionDefault::getRouteName function core/lib/Drupal/Core/Menu/LocalActionDefault.php Get the route name from the settings.
LocalActionDefault::getRouteParameters function core/lib/Drupal/Core/Menu/LocalActionDefault.php Returns the route parameters needed to render a link for the local action.
LocalActionInterface::getRouteName function core/lib/Drupal/Core/Menu/LocalActionInterface.php Get the route name from the settings.
LocalActionInterface::getRouteParameters function core/lib/Drupal/Core/Menu/LocalActionInterface.php Returns the route parameters needed to render a link for the local action.
LocalTaskDefault::getRouteName function core/lib/Drupal/Core/Menu/LocalTaskDefault.php Get the route name from the settings.
LocalTaskDefault::getRouteParameters function core/lib/Drupal/Core/Menu/LocalTaskDefault.php Returns the route parameters needed to render a link for the local task.
LocalTaskDefaultTest::testGetRouteParametersForDynamicRouteWithNonUpcastedParameters function core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php @covers ::getRouteParameters[[api-linebreak]]
LocalTaskDefaultTest::testGetRouteParametersForDynamicRouteWithUpcastedParameters function core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php Tests the getRouteParameters method for a route with upcasted parameters.
LocalTaskDefaultTest::testGetRouteParametersForDynamicRouteWithUpcastedParametersEmptyRawParameters function core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php Tests the getRouteParameters method for a route with upcasted parameters.
LocalTaskDefaultTest::testGetRouteParametersForStaticRoute function core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php @covers ::getRouteParameters[[api-linebreak]]
LocalTaskDefaultTest::testGetRouteParametersInPluginDefinitions function core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php @covers ::getRouteParameters[[api-linebreak]]
LocalTaskInterface::getRouteName function core/lib/Drupal/Core/Menu/LocalTaskInterface.php Get the route name from the settings.
LocalTaskInterface::getRouteParameters function core/lib/Drupal/Core/Menu/LocalTaskInterface.php Returns the route parameters needed to render a link for the local task.
LoginLogoutMenuLink::getRouteName function core/modules/user/src/Plugin/Menu/LoginLogoutMenuLink.php Returns the route name, if available.
MatcherDumper::getRoutes function core/lib/Drupal/Core/Routing/MatcherDumper.php Gets the routes to match.
MatcherDumper::getRoutes function core/lib/Drupal/Core/ProxyClass/Routing/MatcherDumper.php
MenuLinkBase::getRouteName function core/lib/Drupal/Core/Menu/MenuLinkBase.php Returns the route name, if available.
MenuLinkBase::getRouteParameters function core/lib/Drupal/Core/Menu/MenuLinkBase.php Returns the route parameters, if available.

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