RouteProcessorCsrfTest::$csrfToken

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php \Drupal\Tests\Core\Access\RouteProcessorCsrfTest::csrfToken
  2. 10 core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php \Drupal\Tests\Core\Access\RouteProcessorCsrfTest::csrfToken
  3. 11.x core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php \Drupal\Tests\Core\Access\RouteProcessorCsrfTest::csrfToken

The mock CSRF token generator.

Type: \Drupal\Core\Access\CsrfTokenGenerator|\PHPUnit\Framework\MockObject\MockObject

File

core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php, line 22

Class

RouteProcessorCsrfTest
@coversDefaultClass \Drupal\Core\Access\RouteProcessorCsrf @group Access

Namespace

Drupal\Tests\Core\Access

Code

protected $csrfToken;

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