Search for route

  1. Search 7.x for route
  2. Search 9.5.x for route
  3. Search 8.9.x for route
  4. Search 10.3.x for route
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Route class core/modules/migrate/src/Plugin/migrate/process/Route.php Sets the destination route information based on the source link_path.
Route class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Route.php

All search results

Title Object type File name Summary
UnroutedUrlTest::testGetUri function core/tests/Drupal/Tests/Core/UnroutedUrlTest.php Tests the getPath() method.
UnroutedUrlTest::testIsExternal function core/tests/Drupal/Tests/Core/UnroutedUrlTest.php Tests the isExternal() method.
UnroutedUrlTest::testToString function core/tests/Drupal/Tests/Core/UnroutedUrlTest.php Tests the toString() method.
unrouted_url_assembler service core/core.services.yml Drupal\Core\Utility\UnroutedUrlAssembler
UpdateLocalTasksTest::getUpdateReportRoutes function core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php Provides a list of report routes to test.
UpdateRouteSubscriber class core/modules/update/src/Routing/UpdateRouteSubscriber.php Route subscriber for Update module routes.
UpdateRouteSubscriber.php file core/modules/update/src/Routing/UpdateRouteSubscriber.php
UpdateRouteSubscriber::alterRoutes function core/modules/update/src/Routing/UpdateRouteSubscriber.php Alters existing routes for a specific collection.
UpdateRouteSubscriber::__construct function core/modules/update/src/Routing/UpdateRouteSubscriber.php Constructs a new UpdateRouteSubscriber.
Url::$routeName property core/lib/Drupal/Core/Url.php The route name.
Url::$routeParameters property core/lib/Drupal/Core/Url.php The route parameters.
Url::$unrouted property core/lib/Drupal/Core/Url.php Indicates whether this URL is for a URI without a Drupal route.
Url::fromRoute function core/lib/Drupal/Core/Url.php Creates a new Url object for a URL that has a Drupal route.
Url::fromRouteMatch function core/lib/Drupal/Core/Url.php Creates a new URL object from a route match.
Url::fromRouteUri function core/lib/Drupal/Core/Url.php Creates a new Url object for 'route:' URIs.
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.
Url::isRouted function core/lib/Drupal/Core/Url.php Indicates if this URL has a Drupal route.
Url::setRouteParameter function core/lib/Drupal/Core/Url.php Sets a specific route parameter.
Url::setRouteParameters function core/lib/Drupal/Core/Url.php Sets the route parameters.
Url::setUnrouted function core/lib/Drupal/Core/Url.php Sets this URL to encapsulate an unrouted URI.
Url::setUnroutedUrlAssembler function core/lib/Drupal/Core/Url.php Sets the unrouted URL assembler.
Url::unroutedUrlAssembler function core/lib/Drupal/Core/Url.php Gets the unrouted URL assembler for non-Drupal URLs.
UrlGenerator::$routeProcessor property core/lib/Drupal/Core/Routing/UrlGenerator.php The route processor.
UrlGenerator::generateFromRoute function core/lib/Drupal/Core/Routing/UrlGenerator.php Generates a URL or path for a specific route based on the given parameters.
UrlGenerator::getInternalPathFromRoute function core/lib/Drupal/Core/Routing/UrlGenerator.php Gets the path of a route.
UrlGenerator::getPathFromRoute function core/lib/Drupal/Core/Routing/UrlGenerator.php Gets the internal path (system path) for a route.
UrlGenerator::getRoute function core/lib/Drupal/Core/Routing/UrlGenerator.php Find the route using the provided route name.
UrlGenerator::processRoute function core/lib/Drupal/Core/Routing/UrlGenerator.php Passes the route to the processor manager for altering before compilation.
UrlGeneratorInterface::generateFromRoute function core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php Generates a URL or path for a specific route based on the given parameters.
UrlGeneratorInterface::getPathFromRoute function core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php Gets the internal path (system path) for a route.
UrlGeneratorTest::$routeProcessorManager property core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php The mock route processor manager.
UrlGeneratorTest::assertGenerateFromRoute function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Asserts \Drupal\Core\Routing\UrlGenerator::generateFromRoute()'s output.
UrlGeneratorTest::testGetPathFromRouteTrailing function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Tests URL generation from route with trailing start and end slashes.
UrlGeneratorTest::testGetPathFromRouteWithSubdirectory function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Tests URL generation in a subdirectory.
UrlGeneratorTest::testUrlGenerationWithDisabledPathProcessingByRoute function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php @covers ::generateFromRoute[[api-linebreak]]
UrlGeneratorTest::testUrlGenerationWithDisabledPathProcessingByRouteAndOptedInPathProcessing function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php @covers ::generateFromRoute[[api-linebreak]]
UrlTest::$router property core/tests/Drupal/Tests/Core/UrlTest.php The router.
UrlTest::providerTestToUriStringForRoute function core/tests/Drupal/Tests/Core/UrlTest.php Data provider for testing route: URIs.
UrlTest::testAccessRouted function core/tests/Drupal/Tests/Core/UrlTest.php Tests the access() method for routed URLs.
UrlTest::testAccessUnrouted function core/tests/Drupal/Tests/Core/UrlTest.php Tests the access() method for unrouted URLs (they always have access).
UrlTest::testFromRoutedPathWithInvalidRoute function core/tests/Drupal/Tests/Core/UrlTest.php Tests fromUri() method with a user-entered path not matching any route.
UrlTest::testFromRoutedPathWithValidRoute function core/tests/Drupal/Tests/Core/UrlTest.php Tests fromUri() method with user-entered path matching a valid route.
UrlTest::testFromRouteFront function core/tests/Drupal/Tests/Core/UrlTest.php Tests the fromRoute() method with the special <front> path.
UrlTest::testFromRouteMatch function core/tests/Drupal/Tests/Core/UrlTest.php Tests the fromRouteMatch() method.
UrlTest::testFromRouteUriWithMissingRouteName function core/tests/Drupal/Tests/Core/UrlTest.php @covers ::fromUri[[api-linebreak]]
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.

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