You are here

protected property MachineNameControllerTest::$tokenGenerator in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Unit/Transliteration/MachineNameControllerTest.php \Drupal\Tests\system\Unit\Transliteration\MachineNameControllerTest::tokenGenerator
  2. 9 core/modules/system/tests/src/Unit/Transliteration/MachineNameControllerTest.php \Drupal\Tests\system\Unit\Transliteration\MachineNameControllerTest::tokenGenerator

The CSRF token generator.

Type: \Drupal\Core\Access\CsrfTokenGenerator

File

core/modules/system/tests/src/Unit/Transliteration/MachineNameControllerTest.php, line 34

Class

MachineNameControllerTest
Tests that the machine name controller can transliterate strings as expected.

Namespace

Drupal\Tests\system\Unit\Transliteration

Code

protected $tokenGenerator;