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
RouteSubscriberTest::setUp function core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php
RouteSubscriberTest::setupMocks function core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php Sets up mocks of Views objects needed for testing.
RouteSubscriberTest::testOnAlterRoutes function core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php Tests the onAlterRoutes method.
RouteSubscriberTest::testRouteRebuildFinished function core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php @covers ::routeRebuildFinished
RouteTestSubscriber::alterRoutes function core/modules/system/tests/modules/router_test_directory/src/RouteTestSubscriber.php Alters existing routes for a specific collection.
SearchPageRoutes class core/modules/search/src/Routing/SearchPageRoutes.php Provides dynamic routes for search.
SearchPageRoutes.php file core/modules/search/src/Routing/SearchPageRoutes.php
SearchPageRoutes::$searchPageRepository property core/modules/search/src/Routing/SearchPageRoutes.php The search page repository.
SearchPageRoutes::create function core/modules/search/src/Routing/SearchPageRoutes.php Instantiates a new instance of this class.
SearchPageRoutes::routes function core/modules/search/src/Routing/SearchPageRoutes.php Returns an array of route objects.
SearchPageRoutes::__construct function core/modules/search/src/Routing/SearchPageRoutes.php Constructs a new search route subscriber.
SectionStorageInterface::buildRoutes function core/modules/layout_builder/src/SectionStorageInterface.php Provides the routes needed for Layout Builder UI.
ShortcutLocalTasksTest::getShortcutPageRoutes function core/modules/shortcut/tests/src/Unit/Menu/ShortcutLocalTasksTest.php Provides a list of routes to test.
SimpleConfigSectionStorage::buildRoutes function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php Provides the routes needed for Layout Builder UI.
SpecialAttributesRouteSubscriber class core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php Provides a route subscriber which checks for invalid pattern variables.
SpecialAttributesRouteSubscriber.php file core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php
SpecialAttributesRouteSubscriber::alterRoutes function core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php Alters existing routes for a specific collection.
SpecialAttributesRouteSubscriber::onAlterRoutes function core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php Delegates the route altering to self::alterRoutes().
SpecialAttributesRouteSubscriberTest class core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php @coversDefaultClass \Drupal\Core\EventSubscriber\SpecialAttributesRouteSubscriber
@group EventSubscriber
SpecialAttributesRouteSubscriberTest.php file core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php
SpecialAttributesRouteSubscriberTest::providerTestOnRouteBuildingInvalidVariables function core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php Provides a list of routes with invalid route variables.
SpecialAttributesRouteSubscriberTest::providerTestOnRouteBuildingValidVariables function core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php Provides a list of routes with valid route variables.
SpecialAttributesRouteSubscriberTest::testOnRouteBuildingInvalidVariables function core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php Tests the onAlterRoutes method for invalid variables.
SpecialAttributesRouteSubscriberTest::testOnRouteBuildingValidVariables function core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php Tests the onAlterRoutes method for valid variables.
SystemLocalTasksTest::getSystemAdminRoutes function core/modules/system/tests/src/Unit/Menu/SystemLocalTasksTest.php Provides a list of routes to test.
TaxonomyLocalTasksTest::getTaxonomyPageRoutes function core/modules/taxonomy/tests/src/Unit/Menu/TaxonomyLocalTasksTest.php Provides a list of routes to test.
TestRouteSubscriber class core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php Provides a test route subscriber.
TestRouteSubscriber class core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php Provides a callback for route definition.
TestRouteSubscriber::$applicableViews property core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php The applicable views.
TestRouteSubscriber::getApplicableViews function core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php Returns all views/display combinations with routes.
TestRouteSubscriber::routesFromArray function core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php
TestRouteSubscriber::routesFromCollection function core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php
TestStateBasedSectionStorage::buildRoutes function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php Provides the routes needed for Layout Builder UI.
Tour::$keyedRoutes property core/modules/tour/src/Entity/Tour.php The routes on which this tour should be displayed, keyed by route id.
Tour::$routes property core/modules/tour/src/Entity/Tour.php The routes on which this tour should be displayed.
Tour::getRoutes function core/modules/tour/src/Entity/Tour.php The routes that this tour will appear on.
Tour::resetKeyedRoutes function core/modules/tour/src/Entity/Tour.php Resets the statically cached keyed routes.
TourInterface::getRoutes function core/modules/tour/src/TourInterface.php The routes that this tour will appear on.
TourInterface::resetKeyedRoutes function core/modules/tour/src/TourInterface.php Resets the statically cached keyed routes.
UpdateLocalTasksTest::getUpdateModuleRoutes function core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php Provides a list of module routes to test.
UpdateLocalTasksTest::getUpdateReportRoutes function core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php Provides a list of report routes to test.
UpdateLocalTasksTest::getUpdateThemeRoutes function core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php Provides a list of theme routes to test.
UserLocalTasksTest::getUserAdminRoutes function core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php Provides a list of routes to test.
UserLocalTasksTest::getUserLoginRoutes function core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php Provides a list of routes to test.
UserLocalTasksTest::getUserPageRoutes function core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php Provides a list of routes to test.
UserRouteProvider::getRoutes function core/modules/user/src/Entity/UserRouteProvider.php Provides routes for entities.
VocabularyRouteProvider::getRoutes function core/modules/taxonomy/src/Entity/Routing/VocabularyRouteProvider.php Provides routes for entities.

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