W3cubDocs

/Drupal 8

protected property FormBuilder::$csrfToken

The CSRF token generator to validate the form token.

Type: \Drupal\Core\Access\CsrfTokenGenerator

File

core/lib/Drupal/Core/Form/FormBuilder.php, line 63

Class

FormBuilder
Provides form building and processing.

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