RouteProcessorCsrfTest::$csrfToken

Same name and namespace in other branches
  1. 11.x 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. 9 core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php \Drupal\Tests\Core\Access\RouteProcessorCsrfTest::csrfToken
  4. 8.9.x core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php \Drupal\Tests\Core\Access\RouteProcessorCsrfTest::csrfToken

The mock CSRF token generator.

Type: csrfToken

File

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

Class

RouteProcessorCsrfTest
Tests Drupal\Core\Access\RouteProcessorCsrf.

Namespace

Drupal\Tests\Core\Access

Code

protected CsrfTokenGenerator&MockObject $csrfToken;

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