Search for routes

  1. Search 7.x for routes
  2. Search 8.9.x for routes
  3. Search 10.3.x for routes
  4. Search 11.x for routes
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Routes class core/modules/jsonapi/src/Routing/Routes.php Defines dynamic routes.
Routes class core/modules/menu_link_content/tests/menu_link_content_dynamic_route/src/Routes.php Provides dynamic routes for test purposes.

All search results

Title Object type File name Summary
OptionsRequestSubscriberTest::testWithoutMatchingRoutes function core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php @covers ::onRequest
OverridesSectionStorage::buildRoutes function core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php Provides the routes needed for Layout Builder UI.
OverridesSectionStorageTest::testBuildRoutes function core/modules/layout_builder/tests/src/Unit/OverridesSectionStorageTest.php @covers ::buildRoutes
@covers ::hasIntegerId
@covers ::getEntityTypes
@covers \Drupal\layout_builder\Routing\LayoutBuilderRoutesTrait::buildLayoutRoutes
page_cache_no_cache_routes service core/core.services.yml Drupal\Core\PageCache\ResponsePolicy\DenyNoCacheRoutes
PathPluginBase::alterRoutes function core/modules/views/src/Plugin/views/display/PathPluginBase.php Alters a collection of routes and replaces definitions to the view.
PathPluginBase::collectRoutes function core/modules/views/src/Plugin/views/display/PathPluginBase.php Adds the route entry of a view to the collection.
PathPluginBaseTest::testAlterRoutesWithOptionalParameters function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests altering routes with optional parameters in the overridden route.
PathPluginBaseTest::testAlterRoutesWithParameters function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests altering routes with parameters in the overridden route.
PathPluginBaseTest::testAlterRoutesWithParametersAndUpcasting function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests altering routes with parameters and upcasting information.
PathPluginBaseTest::testCollectRoutes function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the collectRoutes method.
PathPluginBaseTest::testCollectRoutesWithArguments function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the collectRoutes method with arguments.
PathPluginBaseTest::testCollectRoutesWithArgumentsNotSpecifiedInPath function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the collectRoutes method with arguments not specified in the path.
PathPluginBaseTest::testCollectRoutesWithDisplayReturnResponse function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the collectRoutes method with a display returning a response.
PathPluginBaseTest::testCollectRoutesWithNamedParameters function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the collectRoutes method with a path containing named parameters.
PathPluginBaseTest::testCollectRoutesWithSpecialRouteName function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the collect routes method with an alternative route name in the UI.
PreloadableRouteProviderInterface::preLoadRoutes function core/lib/Drupal/Core/Routing/PreloadableRouteProviderInterface.php Pre-load routes by their names using the provided list of names.
ResourceBase::routes function core/modules/rest/src/Plugin/ResourceBase.php Returns a collection of routes with URL path information for the resource.
ResourceInterface::routes function core/modules/rest/src/Plugin/ResourceInterface.php Returns a collection of routes with URL path information for the resource.
ResourceRoutes class core/modules/rest/src/Routing/ResourceRoutes.php Subscriber for REST-style routes.
ResourceRoutes.php file core/modules/rest/src/Routing/ResourceRoutes.php
ResourceRoutes::$logger property core/modules/rest/src/Routing/ResourceRoutes.php A logger instance.
ResourceRoutes::$manager property core/modules/rest/src/Routing/ResourceRoutes.php The plugin manager for REST plugins.
ResourceRoutes::$resourceConfigStorage property core/modules/rest/src/Routing/ResourceRoutes.php The REST resource config storage.
ResourceRoutes::getRoutesForResourceConfig function core/modules/rest/src/Routing/ResourceRoutes.php Provides all routes for a given REST resource config.
ResourceRoutes::getSubscribedEvents function core/modules/rest/src/Routing/ResourceRoutes.php
ResourceRoutes::onDynamicRouteEvent function core/modules/rest/src/Routing/ResourceRoutes.php Alters existing routes for a specific collection.
ResourceRoutes::__construct function core/modules/rest/src/Routing/ResourceRoutes.php Constructs a RouteSubscriber object.
rest.resource_routes service core/modules/rest/rest.services.yml Drupal\rest\Routing\ResourceRoutes
RestExport::collectRoutes function core/modules/rest/src/Plugin/views/display/RestExport.php Adds the route entry of a view to the collection.
RouteBuilderTest::testRebuildWithProviderBasedRoutes function core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php Tests the rebuild with routes provided by a callback.
RouteBuilderTest::testRebuildWithStaticModuleRoutes function core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php Tests that provided routes by a module is put into the dumper/dispatcher.
RoutePreloader::$nonAdminRoutesOnRebuild property core/lib/Drupal/Core/Routing/RoutePreloader.php Contains the non-admin routes while rebuilding the routes.
RoutePreloader::onAlterRoutes function core/lib/Drupal/Core/Routing/RoutePreloader.php Alters existing routes for a specific collection.
RoutePreloader::onFinishedRoutes function core/lib/Drupal/Core/Routing/RoutePreloader.php Store the non admin routes in state when the route building is finished.
RoutePreloaderTest::testOnAlterRoutesWithAdminPathNoAdminRoute function core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php Tests onAlterRoutes with "admin" appearing in the path.
RoutePreloaderTest::testOnAlterRoutesWithAdminRoutes function core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php Tests onAlterRoutes with just admin routes.
RoutePreloaderTest::testOnAlterRoutesWithNonAdminRoutes function core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php Tests onAlterRoutes with admin routes and non admin routes.
RouteProvider::$routes property core/lib/Drupal/Core/Routing/RouteProvider.php A cache of already-loaded routes, keyed by route name.
RouteProvider::$serializedRoutes property core/lib/Drupal/Core/Routing/RouteProvider.php A cache of already-loaded serialized routes, keyed by route name.
RouteProvider::getAllRoutes function core/tests/Drupal/KernelTests/RouteProvider.php Returns all the routes on the system.
RouteProvider::getAllRoutes function core/lib/Drupal/Core/Routing/RouteProvider.php Returns all the routes on the system.
RouteProvider::getRoutesByNames function core/tests/Drupal/KernelTests/RouteProvider.php Find many routes by their names using the provided list of names.
RouteProvider::getRoutesByNames function core/lib/Drupal/Core/Routing/RouteProvider.php Find many routes by their names using the provided list of names.
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/lib/Drupal/Core/Routing/RouteProvider.php Gets the total count of routes provided by the router.
RouteProvider::getRoutesPaged function core/lib/Drupal/Core/Routing/RouteProvider.php Returns a chunk of routes.
RouteProvider::preLoadRoutes function core/tests/Drupal/KernelTests/RouteProvider.php Pre-load routes by their names using the provided list of names.
RouteProvider::preLoadRoutes function core/lib/Drupal/Core/Routing/RouteProvider.php Pre-load routes by their names using the provided list of names.

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