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
LayoutBuilderRoutesTrait trait core/modules/layout_builder/src/Routing/LayoutBuilderRoutesTrait.php Provides a trait for building routes for a Layout Builder UI.
LayoutBuilderRoutesTrait.php file core/modules/layout_builder/src/Routing/LayoutBuilderRoutesTrait.php
LayoutBuilderRoutesTrait::buildLayoutRoutes function core/modules/layout_builder/src/Routing/LayoutBuilderRoutesTrait.php Builds the layout routes for the given values.
layout_builder.routes service core/modules/layout_builder/layout_builder.services.yml Drupal\layout_builder\Routing\LayoutBuilderRoutes
LocaleLocalTasksTest::getLocalePageRoutes function core/modules/locale/tests/src/Unit/Menu/LocaleLocalTasksTest.php Provides a list of routes to test.
LocalTaskManagerTest::testGetLocalTasksForRouteSingleLevelTitle function core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php Tests the getLocalTasksForRoute method.
MatcherDumper::$routes property core/lib/Drupal/Core/Routing/MatcherDumper.php The routes to be dumped.
MatcherDumper::addRoutes function core/lib/Drupal/Core/Routing/MatcherDumper.php Adds additional routes to be dumped.
MatcherDumper::addRoutes function core/lib/Drupal/Core/ProxyClass/Routing/MatcherDumper.php Adds additional routes to be dumped.
MatcherDumper::getRoutes function core/lib/Drupal/Core/Routing/MatcherDumper.php Gets the routes to match.
MatcherDumper::getRoutes function core/lib/Drupal/Core/ProxyClass/Routing/MatcherDumper.php
MatcherDumperInterface::addRoutes function core/lib/Drupal/Core/Routing/MatcherDumperInterface.php Adds additional routes to be dumped.
MatcherDumperTest::testAddAdditionalRoutes function core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php Confirms that we can add routes to the dumper when it already has some.
MatcherDumperTest::testAddRoutes function core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php Confirms that we can add routes to the dumper.
MenuTreeStorage::collectRoutesAndDefinitions function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Traverses the menu tree and collects all the route names and definitions.
MenuTreeStorage::doCollectRoutesAndDefinitions function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Collects all the route names and definitions.
MethodFilterTest::testMethodNotAllowedExceptionWithMultipleRoutes function core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php @covers ::filter
MethodFilterTest::testWithAllowedMethodAndMultipleMatchingRoutes function core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php @covers ::filter
MockRouteProvider::$routes property core/modules/system/src/Tests/Routing/MockRouteProvider.php A collection of routes for this route provider.
MockRouteProvider::getAllRoutes function core/modules/system/src/Tests/Routing/MockRouteProvider.php Returns all the routes on the system.
MockRouteProvider::getRoutesByNames function core/modules/system/src/Tests/Routing/MockRouteProvider.php
MockRouteProvider::getRoutesByPattern function core/modules/system/src/Tests/Routing/MockRouteProvider.php Get all routes which match a certain pattern.
MockRouteProvider::preLoadRoutes function core/modules/system/src/Tests/Routing/MockRouteProvider.php
ModuleConfigureRouteTest::testModuleConfigureRoutes function core/tests/Drupal/KernelTests/Core/Extension/ModuleConfigureRouteTest.php Test the module configure routes exist.
ModuleRouteSubscriber class core/lib/Drupal/Core/EventSubscriber/ModuleRouteSubscriber.php A route subscriber to remove routes that depend on modules being enabled.
ModuleRouteSubscriber.php file core/lib/Drupal/Core/EventSubscriber/ModuleRouteSubscriber.php
ModuleRouteSubscriber::$moduleHandler property core/lib/Drupal/Core/EventSubscriber/ModuleRouteSubscriber.php The module handler.
ModuleRouteSubscriber::alterRoutes function core/lib/Drupal/Core/EventSubscriber/ModuleRouteSubscriber.php Alters existing routes for a specific collection.
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.
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.

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