AjaxBasePageNegotiatorTest::$tokenGenerator

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Theme/AjaxBasePageNegotiatorTest.php \Drupal\Tests\Core\Theme\AjaxBasePageNegotiatorTest::tokenGenerator
  2. 8.9.x core/tests/Drupal/Tests/Core/Theme/AjaxBasePageNegotiatorTest.php \Drupal\Tests\Core\Theme\AjaxBasePageNegotiatorTest::tokenGenerator
  3. 11.x core/tests/Drupal/Tests/Core/Theme/AjaxBasePageNegotiatorTest.php \Drupal\Tests\Core\Theme\AjaxBasePageNegotiatorTest::tokenGenerator

The CSRF token generator.

Type: \Drupal\Core\Access\CsrfTokenGenerator|\Prophecy\Prophecy\ProphecyInterface

File

core/tests/Drupal/Tests/Core/Theme/AjaxBasePageNegotiatorTest.php, line 34

Class

AjaxBasePageNegotiatorTest
@coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21Theme%21AjaxBasePageNegotiator.php/class/AjaxBasePageNegotiator/10" title="Defines a theme negotiator that deals with the active theme on ajax requests." class="local">\Drupal\Core\Theme\AjaxBasePageNegotiator</a> @group Theme

Namespace

Drupal\Tests\Core\Theme

Code

protected $tokenGenerator;

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