W3cubDocs

/Drupal 8

protected property 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 26

Class

FormValidator
Provides validation of form submissions.

Namespace

Drupal\Core\Form

Code

protected $csrfToken;

© 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!Form!FormValidator.php/property/FormValidator::csrfToken/8.1.x