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
RouteSubscriber::$viewRouteNames property core/modules/views/src/EventSubscriber/RouteSubscriber.php Stores an array of route names keyed by view_id.display_id.
RouteSubscriber::$viewsDisplayPairs property core/modules/views/src/EventSubscriber/RouteSubscriber.php Stores a list of view,display IDs which haven't be used in the alter event.
RouteSubscriber::$viewStorage property core/modules/views/src/EventSubscriber/RouteSubscriber.php The view storage.
RouteSubscriber::addRedirectRoute function core/modules/block_content/src/Routing/RouteSubscriber.php Adds a redirect route.
RouteSubscriber::alterRoutes function core/modules/media/tests/modules/media_test_embed/src/Routing/RouteSubscriber.php Alters existing routes for a specific collection.
RouteSubscriber::alterRoutes function core/modules/config_translation/src/Routing/RouteSubscriber.php Alters existing routes for a specific collection.
RouteSubscriber::alterRoutes function core/modules/media_library/src/Routing/RouteSubscriber.php Alters existing routes for a specific collection.
RouteSubscriber::alterRoutes function core/modules/node/src/Routing/RouteSubscriber.php Alters existing routes for a specific collection.
RouteSubscriber::alterRoutes function core/modules/views/src/EventSubscriber/RouteSubscriber.php Alters existing routes for a specific collection.
RouteSubscriber::alterRoutes function core/modules/field_ui/src/Routing/RouteSubscriber.php Alters existing routes for a specific collection.
RouteSubscriber::alterRoutes function core/modules/block_content/src/Routing/RouteSubscriber.php Alters existing routes for a specific collection.
RouteSubscriber::alterRoutes function core/modules/serialization/tests/modules/user_route_alter_test/src/Routing/RouteSubscriber.php Alters existing routes for a specific collection.
RouteSubscriber::alterRoutes function core/modules/workspaces_ui/src/Routing/RouteSubscriber.php Alters existing routes for a specific collection.
RouteSubscriber::childRoutes function core/modules/block_content/src/Routing/RouteSubscriber.php Creates a list of routes that need BC redirects.
RouteSubscriber::getApplicableViews function core/modules/views/src/EventSubscriber/RouteSubscriber.php Returns all views/display combinations with routes.
RouteSubscriber::getSubscribedEvents function core/modules/config_translation/src/Routing/RouteSubscriber.php
RouteSubscriber::getSubscribedEvents function core/modules/views/src/EventSubscriber/RouteSubscriber.php
RouteSubscriber::getSubscribedEvents function core/modules/field_ui/src/Routing/RouteSubscriber.php
RouteSubscriber::getSubscribedEvents function core/modules/block_content/src/Routing/RouteSubscriber.php
RouteSubscriber::getSubscribedEvents function core/modules/serialization/tests/modules/user_route_alter_test/src/Routing/RouteSubscriber.php
RouteSubscriber::getViewsDisplayIDsWithRoute function core/modules/views/src/EventSubscriber/RouteSubscriber.php Gets all the views and display IDs using a route.
RouteSubscriber::reset function core/modules/views/src/EventSubscriber/RouteSubscriber.php Resets the internal state of the route subscriber.
RouteSubscriber::routeRebuildFinished function core/modules/views/src/EventSubscriber/RouteSubscriber.php Stores the new route names after they have been rebuilt.
RouteSubscriber::routes function core/modules/views/src/EventSubscriber/RouteSubscriber.php Returns a set of route objects.
RouteSubscriber::setUpBaseRoute function core/modules/block_content/src/Routing/RouteSubscriber.php Gets parameters from a base route and saves them in class variables.
RouteSubscriber::__construct function core/modules/config_translation/src/Routing/RouteSubscriber.php Constructs a new RouteSubscriber.
RouteSubscriber::__construct function core/modules/views/src/EventSubscriber/RouteSubscriber.php Constructs a \Drupal\views\EventSubscriber\RouteSubscriber instance.
RouteSubscriber::__construct function core/modules/field_ui/src/Routing/RouteSubscriber.php Constructs a RouteSubscriber object.
RouteSubscriber::__construct function core/modules/block_content/src/Routing/RouteSubscriber.php Constructs a RouteSubscriber object.
RouteSubscriberBase class core/lib/Drupal/Core/Routing/RouteSubscriberBase.php Provides a base implementation for RouteSubscriber.
RouteSubscriberBase.php file core/lib/Drupal/Core/Routing/RouteSubscriberBase.php
RouteSubscriberBase::alterRoutes function core/lib/Drupal/Core/Routing/RouteSubscriberBase.php Alters existing routes for a specific collection.
RouteSubscriberBase::getSubscribedEvents function core/lib/Drupal/Core/Routing/RouteSubscriberBase.php
RouteSubscriberBase::onAlterRoutes function core/lib/Drupal/Core/Routing/RouteSubscriberBase.php Delegates the route altering to self::alterRoutes().
RouteSubscriberTest class core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php @coversDefaultClass \Drupal\views\EventSubscriber\RouteSubscriber
@group views
RouteSubscriberTest.php file core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php
RouteSubscriberTest::$entityTypeManager property core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php The mocked entity type manager.
RouteSubscriberTest::$routeSubscriber property core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php The tested views route subscriber.
RouteSubscriberTest::$state property core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php The mocked key value storage.
RouteSubscriberTest::$viewStorage property core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php The mocked config entity storage.
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.

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