Search for getRouteName

  1. Search 7.x for getRouteName
  2. Search 9.5.x for getRouteName
  3. Search 8.9.x for getRouteName
  4. Search 10.3.x for getRouteName
  5. Other projects
Title Object type File name Summary
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
ContextualLinkInterface::getRouteName function core/lib/Drupal/Core/Menu/ContextualLinkInterface.php Returns the route name of the contextual link.
CurrentRouteMatch::getRouteName function core/lib/Drupal/Core/Routing/CurrentRouteMatch.php Returns the route name.
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.
LocalActionDefault::getRouteName function core/lib/Drupal/Core/Menu/LocalActionDefault.php Get the route name from the settings.
LocalActionInterface::getRouteName function core/lib/Drupal/Core/Menu/LocalActionInterface.php Get the route name from the settings.
LocalTaskDefault::getRouteName function core/lib/Drupal/Core/Menu/LocalTaskDefault.php Get the route name from the settings.
LocalTaskInterface::getRouteName function core/lib/Drupal/Core/Menu/LocalTaskInterface.php Get the route name from the settings.
LoginLogoutMenuLink::getRouteName function core/modules/user/src/Plugin/Menu/LoginLogoutMenuLink.php Returns the route name, if available.
MenuLinkBase::getRouteName function core/lib/Drupal/Core/Menu/MenuLinkBase.php Returns the route name, if available.
MenuLinkInterface::getRouteName function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the route name, if available.
NullRouteMatch::getRouteName function core/lib/Drupal/Core/Routing/NullRouteMatch.php Returns the route name.
ParamNotConvertedException::getRouteName function core/lib/Drupal/Core/ParamConverter/ParamNotConvertedException.php Get the route name that was not converted.
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.
RouteMatch::getRouteName function core/lib/Drupal/Core/Routing/RouteMatch.php Returns the route name.
RouteMatchInterface::getRouteName function core/lib/Drupal/Core/Routing/RouteMatchInterface.php Returns the route name.
RouteMatchTestBase::testGetRouteName function core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php @covers ::getRouteName
@dataProvider routeMatchProvider
Routes::getRouteName function core/modules/jsonapi/src/Routing/Routes.php Get a unique route name for the JSON:API resource type and route type.
UnroutedUrlTest::testGetRouteName function core/tests/Drupal/Tests/Core/UnroutedUrlTest.php Tests the getRouteName() method.
Url::getRouteName function core/lib/Drupal/Core/Url.php Returns the route name.
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.

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