CsrfAccessCheck::$csrfToken
Same name in other branches
- 9 core/lib/Drupal/Core/Access/CsrfAccessCheck.php \Drupal\Core\Access\CsrfAccessCheck::csrfToken
- 10 core/lib/Drupal/Core/Access/CsrfAccessCheck.php \Drupal\Core\Access\CsrfAccessCheck::csrfToken
- 11.x core/lib/Drupal/Core/Access/CsrfAccessCheck.php \Drupal\Core\Access\CsrfAccessCheck::csrfToken
The CSRF token generator.
Type: \Drupal\Core\Access\CsrfTokenGenerator
File
-
core/
lib/ Drupal/ Core/ Access/ CsrfAccessCheck.php, line 24
Class
- CsrfAccessCheck
- Allows access to routes to be controlled by a '_csrf_token' parameter.
Namespace
Drupal\Core\AccessCode
protected $csrfToken;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.