RouteProcessorCsrf::$csrfToken

Same name in other branches
  1. 9 core/lib/Drupal/Core/Access/RouteProcessorCsrf.php \Drupal\Core\Access\RouteProcessorCsrf::csrfToken
  2. 10 core/lib/Drupal/Core/Access/RouteProcessorCsrf.php \Drupal\Core\Access\RouteProcessorCsrf::csrfToken
  3. 11.x core/lib/Drupal/Core/Access/RouteProcessorCsrf.php \Drupal\Core\Access\RouteProcessorCsrf::csrfToken

The CSRF token generator.

Type: \Drupal\Core\Access\CsrfTokenGenerator

File

core/lib/Drupal/Core/Access/RouteProcessorCsrf.php, line 21

Class

RouteProcessorCsrf
Processes the outbound route to handle the CSRF token.

Namespace

Drupal\Core\Access

Code

protected $csrfToken;

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