FormValidator::$csrfToken
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Form/FormValidator.php \Drupal\Core\Form\FormValidator::csrfToken
- 10 core/lib/Drupal/Core/Form/FormValidator.php \Drupal\Core\Form\FormValidator::csrfToken
- 11.x core/lib/Drupal/Core/Form/FormValidator.php \Drupal\Core\Form\FormValidator::csrfToken
The CSRF token generator to validate the form token.
Type: \Drupal\Core\Access\CsrfTokenGenerator
File
-
core/
lib/ Drupal/ Core/ Form/ FormValidator.php, line 25
Class
- FormValidator
- Provides validation of form submissions.
Namespace
Drupal\Core\FormCode
protected $csrfToken;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.