Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
Routes::getFileUploadRoutesForResourceType function core/modules/jsonapi/src/Routing/Routes.php Gets the file upload route collection for the given resource type.
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[[api-linebreak]]
@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[[api-linebreak]]
RoutesTest::testRoutesIndividual function core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php @covers ::routes[[api-linebreak]]
RoutesTest::testRoutesRelated function core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php @covers ::routes[[api-linebreak]]
RoutesTest::testRoutesRelationships function core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php @covers ::routes[[api-linebreak]]
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/media/tests/modules/media_test_embed/src/Routing/RouteSubscriber.php Listens to the dynamic route events.
RouteSubscriber class core/modules/field_ui/src/Routing/RouteSubscriber.php Subscriber for Field UI 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.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/node/src/Routing/RouteSubscriber.php
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::$entityTypeManager property core/modules/field_ui/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::$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.
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::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/node/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/tests/modules/media_test_embed/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::getApplicableViews function core/modules/views/src/EventSubscriber/RouteSubscriber.php Returns all views/display combinations with routes.

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