CsrfTokenController::$tokenGenerator
Same name in other branches
- 9 core/modules/system/src/Controller/CsrfTokenController.php \Drupal\system\Controller\CsrfTokenController::tokenGenerator
- 8.9.x core/modules/system/src/Controller/CsrfTokenController.php \Drupal\system\Controller\CsrfTokenController::tokenGenerator
- 10 core/modules/system/src/Controller/CsrfTokenController.php \Drupal\system\Controller\CsrfTokenController::tokenGenerator
The CSRF token generator.
Type: \Drupal\Core\Access\CsrfTokenGenerator
File
-
core/
modules/ system/ src/ Controller/ CsrfTokenController.php, line 21
Class
- CsrfTokenController
- Returns responses for CSRF token routes.
Namespace
Drupal\system\ControllerCode
protected $tokenGenerator;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.