RoutePathGenerationTraitTest::$requestStack |
property |
core/tests/Drupal/Tests/Core/Access/RoutePathGenerationTraitTest.php |
The request stack. |
RoutePathGenerationTraitTest::providerTestCsrfTokenCompleteLifeCycle |
function |
core/tests/Drupal/Tests/Core/Access/RoutePathGenerationTraitTest.php |
Data provider for testCsrfTokenCompleteLifeCycle(). |
RoutePathGenerationTraitTest::setUp |
function |
core/tests/Drupal/Tests/Core/Access/RoutePathGenerationTraitTest.php |
|
RoutePathGenerationTraitTest::testCsrfTokenCompleteLifeCycle |
function |
core/tests/Drupal/Tests/Core/Access/RoutePathGenerationTraitTest.php |
Tests that CSRF token creation and validation is consistent. |
RoutePreloader |
class |
core/lib/Drupal/Core/Routing/RoutePreloader.php |
Defines a class that can pre-load non-admin routes. |
RoutePreloader.php |
file |
core/lib/Drupal/Core/Routing/RoutePreloader.php |
|
RoutePreloader::$nonAdminRoutesOnRebuild |
property |
core/lib/Drupal/Core/Routing/RoutePreloader.php |
Contains the non-admin routes while rebuilding the routes. |
RoutePreloader::getSubscribedEvents |
function |
core/lib/Drupal/Core/Routing/RoutePreloader.php |
|
RoutePreloader::isGetAndHtmlRoute |
function |
core/lib/Drupal/Core/Routing/RoutePreloader.php |
Determines whether the given route is a GET and HTML route. |
RoutePreloader::onAlterRoutes |
function |
core/lib/Drupal/Core/Routing/RoutePreloader.php |
Alters existing routes for a specific collection. |
RoutePreloader::onFinishedRoutes |
function |
core/lib/Drupal/Core/Routing/RoutePreloader.php |
Store the non admin routes in state when the route building is finished. |
RoutePreloader::onRequest |
function |
core/lib/Drupal/Core/Routing/RoutePreloader.php |
Loads all non-admin routes right before the actual page is rendered. |
RoutePreloader::__construct |
function |
core/lib/Drupal/Core/Routing/RoutePreloader.php |
Constructs a new RoutePreloader. |
RoutePreloaderTest |
class |
core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php |
Tests Drupal\Core\Routing\RoutePreloader. |
RoutePreloaderTest.php |
file |
core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php |
|
RoutePreloaderTest::$preloader |
property |
core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php |
The tested preloader. |
RoutePreloaderTest::$routeProvider |
property |
core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php |
The mocked preloadable route provider. |
RoutePreloaderTest::$state |
property |
core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php |
The mocked state. |
RoutePreloaderTest::setUp |
function |
core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php |
|
RoutePreloaderTest::testOnAlterRoutesWithAdminPathNoAdminRoute |
function |
core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php |
Tests onAlterRoutes with "admin" appearing in the path. |
RoutePreloaderTest::testOnAlterRoutesWithAdminRoutes |
function |
core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php |
Tests onAlterRoutes with just admin routes. |
RoutePreloaderTest::testOnAlterRoutesWithNonAdminRoutes |
function |
core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php |
Tests onAlterRoutes with admin routes and non admin routes. |
RoutePreloaderTest::testOnRequestNonHtml |
function |
core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php |
Tests onRequest on a non html request. |
RoutePreloaderTest::testOnRequestOnHtml |
function |
core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php |
Tests onRequest on a html request. |
RouteProcessorCsrf |
class |
core/lib/Drupal/Core/Access/RouteProcessorCsrf.php |
Processes the outbound route to handle the CSRF token. |
RouteProcessorCsrf.php |
file |
core/lib/Drupal/Core/Access/RouteProcessorCsrf.php |
|
RouteProcessorCsrf::processOutbound |
function |
core/lib/Drupal/Core/Access/RouteProcessorCsrf.php |
Processes the outbound route. |
RouteProcessorCsrf::renderPlaceholderCsrfToken |
function |
core/lib/Drupal/Core/Access/RouteProcessorCsrf.php |
Render API callback: Adds a CSRF token for the given path to the markup. |
RouteProcessorCsrf::trustedCallbacks |
function |
core/lib/Drupal/Core/Access/RouteProcessorCsrf.php |
Lists the trusted callbacks provided by the implementing class. |
RouteProcessorCsrf::__construct |
function |
core/lib/Drupal/Core/Access/RouteProcessorCsrf.php |
Constructs a RouteProcessorCsrf object. |
RouteProcessorCsrfTest |
class |
core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php |
Tests Drupal\Core\Access\RouteProcessorCsrf. |
RouteProcessorCsrfTest.php |
file |
core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php |
|
RouteProcessorCsrfTest::$csrfToken |
property |
core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php |
The mock CSRF token generator. |
RouteProcessorCsrfTest::$processor |
property |
core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php |
The route processor. |
RouteProcessorCsrfTest::$requestStack |
property |
core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php |
The mock request stack. |
RouteProcessorCsrfTest::setUp |
function |
core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php |
|
RouteProcessorCsrfTest::testProcessOutbound |
function |
core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php |
Tests the processOutbound() method with a _csrf_token route requirement. |
RouteProcessorCsrfTest::testProcessOutboundDynamicOne |
function |
core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php |
Tests the processOutbound() method with a dynamic path and one replacement. |
RouteProcessorCsrfTest::testProcessOutboundDynamicTwo |
function |
core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php |
Tests the processOutbound() method with two parameter replacements. |
RouteProcessorCsrfTest::testProcessOutboundJsonFormat |
function |
core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php |
Tests JSON requests to get no placeholders, but real tokens. |
RouteProcessorCsrfTest::testProcessOutboundNoRequirement |
function |
core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php |
Tests the processOutbound() method with no _csrf_token route requirement. |
RouteProcessorCurrent |
class |
core/lib/Drupal/Core/RouteProcessor/RouteProcessorCurrent.php |
Provides a route processor to replace <current>. |
RouteProcessorCurrent.php |
file |
core/lib/Drupal/Core/RouteProcessor/RouteProcessorCurrent.php |
|
RouteProcessorCurrent::$routeMatch |
property |
core/lib/Drupal/Core/RouteProcessor/RouteProcessorCurrent.php |
The current route match. |
RouteProcessorCurrent::processOutbound |
function |
core/lib/Drupal/Core/RouteProcessor/RouteProcessorCurrent.php |
Processes the outbound route. |
RouteProcessorCurrent::__construct |
function |
core/lib/Drupal/Core/RouteProcessor/RouteProcessorCurrent.php |
Constructs a new RouteProcessorCurrent. |
RouteProcessorCurrentIntegrationTest |
class |
core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteProcessorCurrentIntegrationTest.php |
Tests the <current> route processor. |
RouteProcessorCurrentIntegrationTest.php |
file |
core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteProcessorCurrentIntegrationTest.php |
|
RouteProcessorCurrentIntegrationTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteProcessorCurrentIntegrationTest.php |
Modules to install. |
RouteProcessorCurrentIntegrationTest::$urlGenerator |
property |
core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteProcessorCurrentIntegrationTest.php |
The URL generator. |