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
MockRouteProvider::preLoadRoutes function core/modules/system/src/Tests/Routing/MockRouteProvider.php
ModuleConfigureRouteTest::assertModuleConfigureRoutesExist function core/tests/Drupal/KernelTests/Core/Extension/ModuleConfigureRouteTest.php Asserts the configure routes of a module exist.
ModuleConfigureRouteTest::doTestDeprecatedModuleConfigureRoutes function core/tests/Drupal/KernelTests/Core/Extension/ModuleConfigureRouteTest.php Check the configure route for a single module.
ModuleConfigureRouteTest::doTestModuleConfigureRoutes function core/tests/Drupal/KernelTests/Core/Extension/ModuleConfigureRouteTest.php Checks the configure route for a single module.
ModuleConfigureRouteTest::testDeprecatedModuleConfigureRoutes function core/tests/Drupal/KernelTests/Core/Extension/ModuleConfigureRouteTest.php Tests if the module with lifecycle deprecated configure routes exists.
ModuleConfigureRouteTest::testModuleConfigureRoutes function core/tests/Drupal/KernelTests/Core/Extension/ModuleConfigureRouteTest.php Tests if the module configure routes exists.
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.
NavigationSectionStorage::buildRoutes function core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php
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
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
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
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
PathPluginBase::collectRoutes function core/modules/views/src/Plugin/views/display/PathPluginBase.php
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
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

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