Search for route
- Search 7.x for route
- Search 9.5.x for route
- Search 8.9.x for route
- Search 10.3.x for route
- Other projects
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Route | class | core/ |
Sets the destination route information based on the source link_path. |
Route | class | core/ |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
RoutePathGenerationTrait.php | file | core/ |
|
RoutePathGenerationTrait::generateRoutePath | function | core/ |
Generates a route path by replacing placeholders with their values. |
RoutePathGenerationTraitTest | class | core/ |
@covers \Drupal\Core\Access\RoutePathGenerationTrait[[api-linebreak]] @group Access |
RoutePathGenerationTraitTest.php | file | core/ |
|
RoutePathGenerationTraitTest::$accessCheck | property | core/ |
The CSRF access checker. |
RoutePathGenerationTraitTest::$csrfToken | property | core/ |
The mock CSRF token generator. |
RoutePathGenerationTraitTest::$processor | property | core/ |
The route processor. |
RoutePathGenerationTraitTest::$requestStack | property | core/ |
The request stack. |
RoutePathGenerationTraitTest::providerTestCsrfTokenCompleteLifeCycle | function | core/ |
Data provider for testCsrfTokenCompleteLifeCycle(). |
RoutePathGenerationTraitTest::setUp | function | core/ |
|
RoutePathGenerationTraitTest::testCsrfTokenCompleteLifeCycle | function | core/ |
Tests that CSRF token creation and validation is consistent. |
RoutePreloader | class | core/ |
Defines a class that can pre-load non-admin routes. |
RoutePreloader.php | file | core/ |
|
RoutePreloader::$nonAdminRoutesOnRebuild | property | core/ |
Contains the non-admin routes while rebuilding the routes. |
RoutePreloader::getSubscribedEvents | function | core/ |
|
RoutePreloader::isGetAndHtmlRoute | function | core/ |
Determines whether the given route is a GET and HTML route. |
RoutePreloader::onAlterRoutes | function | core/ |
Alters existing routes for a specific collection. |
RoutePreloader::onFinishedRoutes | function | core/ |
Store the non admin routes in state when the route building is finished. |
RoutePreloader::onRequest | function | core/ |
Loads all non-admin routes right before the actual page is rendered. |
RoutePreloader::__construct | function | core/ |
Constructs a new RoutePreloader. |
RoutePreloaderTest | class | core/ |
@coversDefaultClass \Drupal\Core\Routing\RoutePreloader[[api-linebreak]] @group Routing |
RoutePreloaderTest.php | file | core/ |
|
RoutePreloaderTest::$preloader | property | core/ |
The tested preloader. |
RoutePreloaderTest::$routeProvider | property | core/ |
The mocked preloadable route provider. |
RoutePreloaderTest::$state | property | core/ |
The mocked state. |
RoutePreloaderTest::setUp | function | core/ |
|
RoutePreloaderTest::testOnAlterRoutesWithAdminPathNoAdminRoute | function | core/ |
Tests onAlterRoutes with "admin" appearing in the path. |
RoutePreloaderTest::testOnAlterRoutesWithAdminRoutes | function | core/ |
Tests onAlterRoutes with just admin routes. |
RoutePreloaderTest::testOnAlterRoutesWithNonAdminRoutes | function | core/ |
Tests onAlterRoutes with admin routes and non admin routes. |
RoutePreloaderTest::testOnRequestNonHtml | function | core/ |
Tests onRequest on a non html request. |
RoutePreloaderTest::testOnRequestOnHtml | function | core/ |
Tests onRequest on a html request. |
RouteProcessorCsrf | class | core/ |
Processes the outbound route to handle the CSRF token. |
RouteProcessorCsrf.php | file | core/ |
|
RouteProcessorCsrf::processOutbound | function | core/ |
Processes the outbound route. |
RouteProcessorCsrf::renderPlaceholderCsrfToken | function | core/ |
Render API callback: Adds a CSRF token for the given path to the markup. |
RouteProcessorCsrf::trustedCallbacks | function | core/ |
Lists the trusted callbacks provided by the implementing class. |
RouteProcessorCsrf::__construct | function | core/ |
Constructs a RouteProcessorCsrf object. |
RouteProcessorCsrfTest | class | core/ |
@coversDefaultClass \Drupal\Core\Access\RouteProcessorCsrf[[api-linebreak]] @group Access |
RouteProcessorCsrfTest.php | file | core/ |
|
RouteProcessorCsrfTest::$csrfToken | property | core/ |
The mock CSRF token generator. |
RouteProcessorCsrfTest::$processor | property | core/ |
The route processor. |
RouteProcessorCsrfTest::$requestStack | property | core/ |
The mock request stack. |
RouteProcessorCsrfTest::setUp | function | core/ |
|
RouteProcessorCsrfTest::testProcessOutbound | function | core/ |
Tests the processOutbound() method with a _csrf_token route requirement. |
RouteProcessorCsrfTest::testProcessOutboundDynamicOne | function | core/ |
Tests the processOutbound() method with a dynamic path and one replacement. |
RouteProcessorCsrfTest::testProcessOutboundDynamicTwo | function | core/ |
Tests the processOutbound() method with two parameter replacements. |
RouteProcessorCsrfTest::testProcessOutboundJsonFormat | function | core/ |
Tests JSON requests to get no placeholders, but real tokens. |
RouteProcessorCsrfTest::testProcessOutboundNoRequirement | function | core/ |
Tests the processOutbound() method with no _csrf_token route requirement. |
RouteProcessorCurrent | class | core/ |
Provides a route processor to replace <current>. |
RouteProcessorCurrent.php | file | core/ |
Pagination
- Previous page
- Page 24
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.