Search for routes

  1. Search 7.x for routes
  2. Search 9.5.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
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
PathLegacyRoutesKernelTest class core/modules/path/tests/src/Kernel/PathLegacyRoutesKernelTest.php Tests the BC layer for the deprecated routes of the path module.
PathLegacyRoutesKernelTest.php file core/modules/path/tests/src/Kernel/PathLegacyRoutesKernelTest.php
PathLegacyRoutesKernelTest::$modules property core/modules/path/tests/src/Kernel/PathLegacyRoutesKernelTest.php Modules to enable.
PathLegacyRoutesKernelTest::testLegacyAddRoute function core/modules/path/tests/src/Kernel/PathLegacyRoutesKernelTest.php @expectedDeprecation The 'path.admin_add' route is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the 'entity.path_alias.add_form' route instead. See https://www.drupal.org/node/3013865
PathLegacyRoutesKernelTest::testLegacyCollectionFilterRoute function core/modules/path/tests/src/Kernel/PathLegacyRoutesKernelTest.php @expectedDeprecation The 'path.admin_overview_filter' route is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the 'entity.path_alias.collection' route instead. See https://www.drupal.org/node/3013865
PathLegacyRoutesKernelTest::testLegacyCollectionRoute function core/modules/path/tests/src/Kernel/PathLegacyRoutesKernelTest.php @expectedDeprecation The 'path.admin_overview' route is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the 'entity.path_alias.collection' route instead. See https://www.drupal.org/node/3013865
PathLegacyRoutesKernelTest::testLegacyDeleteRoute function core/modules/path/tests/src/Kernel/PathLegacyRoutesKernelTest.php @expectedDeprecation The 'path.delete' route is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the 'entity.path_alias.delete_form' route instead. See https://www.drupal.org/node/3013865
PathLegacyRoutesKernelTest::testLegacyEditRoute function core/modules/path/tests/src/Kernel/PathLegacyRoutesKernelTest.php @expectedDeprecation The 'path.admin_edit' route is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the 'entity.path_alias.edit_form' route instead. See https://www.drupal.org/node/3013865
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
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.

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