AjaxBasePageNegotiator::$csrfGenerator

Same name in other branches
  1. 9 core/lib/Drupal/Core/Theme/AjaxBasePageNegotiator.php \Drupal\Core\Theme\AjaxBasePageNegotiator::csrfGenerator
  2. 8.9.x core/lib/Drupal/Core/Theme/AjaxBasePageNegotiator.php \Drupal\Core\Theme\AjaxBasePageNegotiator::csrfGenerator
  3. 10 core/lib/Drupal/Core/Theme/AjaxBasePageNegotiator.php \Drupal\Core\Theme\AjaxBasePageNegotiator::csrfGenerator

The CSRF token generator.

Type: \Drupal\Core\Access\CsrfTokenGenerator

File

core/lib/Drupal/Core/Theme/AjaxBasePageNegotiator.php, line 32

Class

AjaxBasePageNegotiator
Defines a theme negotiator that deals with the active theme on ajax requests.

Namespace

Drupal\Core\Theme

Code

protected $csrfGenerator;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.