You are here

protected property CsrfTokenController::$tokenGenerator in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/src/Controller/CsrfTokenController.php \Drupal\system\Controller\CsrfTokenController::tokenGenerator
  2. 9 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\Controller

Code

protected $tokenGenerator;