class RouteProcessorCsrf
Processes the outbound route to handle the CSRF token.
Hierarchy
- class \Drupal\Core\Access\RouteProcessorCsrf implements OutboundRouteProcessorInterface
File
- core/lib/Drupal/Core/Access/RouteProcessorCsrf.php, line 12
Namespace
Drupal\Core\AccessMembers
Name | Modifiers | Type | Description |
---|---|---|---|
RouteProcessorCsrf::$csrfToken | protected | property | The CSRF token generator. |
RouteProcessorCsrf::processOutbound | public | function | Processes the outbound route. Overrides OutboundRouteProcessorInterface::processOutbound |
RouteProcessorCsrf::renderPlaceholderCsrfToken | public | function | #lazy_builder callback; gets a CSRF token for the given path. |
RouteProcessorCsrf::__construct | function | Constructs a RouteProcessorCsrf object. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Access!RouteProcessorCsrf.php/class/RouteProcessorCsrf/8.1.x