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
RouteProviderInterface::getAllRoutes function core/lib/Drupal/Core/Routing/RouteProviderInterface.php Returns all the routes on the system.
RouteProviderInterface::getRoutesByNames function core/lib/Drupal/Core/Routing/RouteProviderInterface.php Find many routes by their names using the provided list of names.
RouteProviderInterface::getRoutesByPattern function core/lib/Drupal/Core/Routing/RouteProviderInterface.php Get all routes which match a certain pattern.
RouteProviderLazyBuilder::getAllRoutes function core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php Returns all the routes on the system.
RouteProviderLazyBuilder::getRoutesByNames function core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php Find many routes by their names using the provided list of names.
RouteProviderLazyBuilder::getRoutesByPattern function core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php Get all routes which match a certain pattern.
RouteProviderLazyBuilder::getRoutesCount function core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php Gets the total count of routes provided by the router.
RouteProviderLazyBuilder::getRoutesPaged function core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php Returns a chunk of routes.
RouteProviderLazyBuilder::preLoadRoutes function core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php Pre-load routes by their names using the provided list of names.
RouteProviderTest::testAdminHtmlRoutes function core/tests/Drupal/KernelTests/Core/Entity/RouteProviderTest.php @covers \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider::getEditFormRoute
@covers \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider::getDeleteFormRoute
RouteProviderTest::testGetAllRoutes function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms RouteProvider::getAllRoutes() extracts information correctly from the database.
RouteProviderTest::testGetRoutesByPatternWithLongPatterns function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Ensures that the routing system is capable of extreme long patterns.
RouteProviderTest::testGetRoutesCount function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Tests getRoutesCount().
RouteProviderTest::testGetRoutesPaged function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Tests getRoutesPaged().
RouteProviderTest::testHtmlRoutes function core/tests/Drupal/KernelTests/Core/Entity/RouteProviderTest.php @covers \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider::getRoutes
RouterTest::testDynamicRoutes function core/modules/system/tests/src/Functional/Routing/RouterTest.php Checks that dynamically defined and altered routes work correctly.
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.
Routes.php file core/modules/jsonapi/src/Routing/Routes.php
Routes.php file core/modules/menu_link_content/tests/menu_link_content_dynamic_route/src/Routes.php
Routes::$jsonApiBasePath property core/modules/jsonapi/src/Routing/Routes.php The JSON:API base path.
Routes::$providerIds property core/modules/jsonapi/src/Routing/Routes.php List of providers.
Routes::$resourceTypeRepository property core/modules/jsonapi/src/Routing/Routes.php The JSON:API resource type repository.
Routes::addRouteParameter function core/modules/jsonapi/src/Routing/Routes.php Adds a parameter option to a route, overrides options of the same name.
Routes::CONTROLLER_SERVICE_NAME constant core/modules/jsonapi/src/Routing/Routes.php The service name for the primary JSON:API controller.
Routes::create function core/modules/jsonapi/src/Routing/Routes.php Instantiates a new instance of this class.
Routes::dynamic function core/modules/menu_link_content/tests/menu_link_content_dynamic_route/src/Routes.php
Routes::getEntryPointRoute function core/modules/jsonapi/src/Routing/Routes.php Provides the entry point route.
Routes::getFileUploadRouteName function core/modules/jsonapi/src/Routing/Routes.php Get a unique route name for the file upload resource type and route type.
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
@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.

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