Search for routes

  1. Search 7.x for routes
  2. Search 9.5.x for routes
  3. Search 8.9.x for routes
  4. Search 10.3.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
ModuleRouteSubscriber::explodeString function core/lib/Drupal/Core/EventSubscriber/ModuleRouteSubscriber.php Explodes a string based on a separator.
ModuleRouteSubscriber::__construct function core/lib/Drupal/Core/EventSubscriber/ModuleRouteSubscriber.php Constructs a ModuleRouteSubscriber object.
ModuleRouteSubscriberTest class core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php @coversDefaultClass \Drupal\Core\EventSubscriber\ModuleRouteSubscriber
@group EventSubscriber
ModuleRouteSubscriberTest.php file core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php
ModuleRouteSubscriberTest::$moduleHandler property core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php The mock module handler.
ModuleRouteSubscriberTest::providerTestRemoveRoute function core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php Data provider for testRemoveRoute().
ModuleRouteSubscriberTest::setUp function core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php
ModuleRouteSubscriberTest::testRemoveRoute function core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php Tests that removeRoute() removes routes when the module is not enabled.
NavigationRenderer::meetsContentEntityRoutesCondition function core/modules/navigation/src/NavigationRenderer.php Determines if content entity route condition is met.
NavigationSectionStorage::buildRoutes function core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php Provides the routes needed for Layout Builder UI.
NodeAdminRouteSubscriber class core/modules/node/src/EventSubscriber/NodeAdminRouteSubscriber.php Sets the _admin_route for specific node-related routes.
NodeAdminRouteSubscriber.php file core/modules/node/src/EventSubscriber/NodeAdminRouteSubscriber.php
NodeAdminRouteSubscriber::$configFactory property core/modules/node/src/EventSubscriber/NodeAdminRouteSubscriber.php The config factory.
NodeAdminRouteSubscriber::$routerBuilder property core/modules/node/src/EventSubscriber/NodeAdminRouteSubscriber.php The router builder.
NodeAdminRouteSubscriber::alterRoutes function core/modules/node/src/EventSubscriber/NodeAdminRouteSubscriber.php Alters existing routes for a specific collection.
NodeAdminRouteSubscriber::getSubscribedEvents function core/modules/node/src/EventSubscriber/NodeAdminRouteSubscriber.php
NodeAdminRouteSubscriber::onConfigSave function core/modules/node/src/EventSubscriber/NodeAdminRouteSubscriber.php Rebuilds the router when node.settings:use_admin_theme is changed.
NodeAdminRouteSubscriber::__construct function core/modules/node/src/EventSubscriber/NodeAdminRouteSubscriber.php Constructs a new NodeAdminRouteSubscriber.
NodeRouteProvider::getRoutes function core/modules/node/src/Entity/NodeRouteProvider.php Provides routes for entities.
NullMatcherDumper::$routes property core/lib/Drupal/Core/Routing/NullMatcherDumper.php The routes to be dumped.
NullMatcherDumper::addRoutes function core/lib/Drupal/Core/Routing/NullMatcherDumper.php Adds additional routes to be dumped.
NullMatcherDumper::getRoutes function core/lib/Drupal/Core/Routing/NullMatcherDumper.php Gets the routes to match.
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
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.

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