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 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
Routes::getIndividualRoutesForResourceType function core/modules/jsonapi/src/Routing/Routes.php Gets a route collection for the given resource type.
Routes::getResourceTypeNameFromParameters function core/modules/jsonapi/src/Routing/Routes.php Gets the resource type from a route or request's parameters.
Routes::getRouteName function core/modules/jsonapi/src/Routing/Routes.php Get a unique route name for the JSON:API resource type and route type.
Routes::getRoutesForResourceType function core/modules/jsonapi/src/Routing/Routes.php Gets applicable resource routes for a JSON:API resource type.
Routes::hasNonInternalFileTargetResourceTypes function core/modules/jsonapi/src/Routing/Routes.php Determines if an array of resource types lists non-internal "file" ones.
Routes::hasNonInternalTargetResourceTypes function core/modules/jsonapi/src/Routing/Routes.php Determines if an array of resource types has any non-internal ones.
Routes::isJsonApiRequest function core/modules/jsonapi/src/Routing/Routes.php Determines if the given request is for a JSON:API generated route.
Routes::JSON_API_ROUTE_FLAG_KEY constant core/modules/jsonapi/src/Routing/Routes.php A key with which to flag a route as belonging to the JSON:API module.
Routes::rebuild function core/modules/jsonapi/src/Routing/Routes.php Invalidates any JSON:API resource type dependent responses and routes.
Routes::RESOURCE_TYPE_KEY constant core/modules/jsonapi/src/Routing/Routes.php The route default key for the route's resource type information.
Routes::routes function core/modules/jsonapi/src/Routing/Routes.php
Routes::__construct function core/modules/jsonapi/src/Routing/Routes.php Instantiates a Routes object.
RoutesTest class core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php @coversDefaultClass \Drupal\jsonapi\Routing\Routes
@group jsonapi
RoutesTest.php file core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php
RoutesTest::$routes property core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php List of routes objects for the different scenarios.
RoutesTest::expectedRoutes function core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php Lists routes which should have been created.
RoutesTest::notExpectedRoutes function core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php Lists routes which should have been created.
RoutesTest::setUp function core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php
RoutesTest::testInternalRoutes function core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php Ensures that no routes are created for internal resources.
RoutesTest::testRoutes function core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php Ensures that the expected routes are created or not created.
RoutesTest::testRoutesCollection function core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php @covers ::routes
RoutesTest::testRoutesIndividual function core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php @covers ::routes
RoutesTest::testRoutesRelated function core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php @covers ::routes
RoutesTest::testRoutesRelationships function core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php @covers ::routes
RouteSubscriber class core/modules/media/tests/modules/media_test_embed/src/Routing/RouteSubscriber.php Listens to the dynamic route events.
RouteSubscriber class core/modules/config_translation/src/Routing/RouteSubscriber.php Listens to the dynamic route events.
RouteSubscriber class core/modules/media_library/src/Routing/RouteSubscriber.php Subscriber for media library routes.
RouteSubscriber class core/modules/node/src/Routing/RouteSubscriber.php Listens to the dynamic route events.
RouteSubscriber class core/modules/views/src/EventSubscriber/RouteSubscriber.php Builds up the routes of all views.
RouteSubscriber class core/modules/field_ui/src/Routing/RouteSubscriber.php Subscriber for Field UI routes.
RouteSubscriber class core/modules/block_content/src/Routing/RouteSubscriber.php Subscriber for Block content BC routes.
RouteSubscriber class core/modules/serialization/tests/modules/user_route_alter_test/src/Routing/RouteSubscriber.php Alter the 'user.pass.http' route.
RouteSubscriber.php file core/modules/media/tests/modules/media_test_embed/src/Routing/RouteSubscriber.php
RouteSubscriber.php file core/modules/config_translation/src/Routing/RouteSubscriber.php
RouteSubscriber.php file core/modules/media_library/src/Routing/RouteSubscriber.php
RouteSubscriber.php file core/modules/node/src/Routing/RouteSubscriber.php
RouteSubscriber.php file core/modules/views/src/EventSubscriber/RouteSubscriber.php
RouteSubscriber.php file core/modules/field_ui/src/Routing/RouteSubscriber.php
RouteSubscriber.php file core/modules/block_content/src/Routing/RouteSubscriber.php
RouteSubscriber.php file core/modules/serialization/tests/modules/user_route_alter_test/src/Routing/RouteSubscriber.php
RouteSubscriber::$basePath property core/modules/block_content/src/Routing/RouteSubscriber.php The current base path.
RouteSubscriber::$basePathBc property core/modules/block_content/src/Routing/RouteSubscriber.php The BC base path.
RouteSubscriber::$collection property core/modules/block_content/src/Routing/RouteSubscriber.php The route collection for adding routes.
RouteSubscriber::$controller property core/modules/block_content/src/Routing/RouteSubscriber.php The redirect controller.
RouteSubscriber::$entityTypeManager property core/modules/field_ui/src/Routing/RouteSubscriber.php The entity type manager service.
RouteSubscriber::$entityTypeManager property core/modules/block_content/src/Routing/RouteSubscriber.php The entity type manager service.
RouteSubscriber::$mapperManager property core/modules/config_translation/src/Routing/RouteSubscriber.php The mapper plugin discovery service.
RouteSubscriber::$moduleHandler property core/modules/block_content/src/Routing/RouteSubscriber.php The module handler.
RouteSubscriber::$state property core/modules/views/src/EventSubscriber/RouteSubscriber.php The state key value store.
RouteSubscriber::$viewRouteNames property core/modules/views/src/EventSubscriber/RouteSubscriber.php Stores an array of route names keyed by view_id.display_id.

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