TokenTest::$token

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Utility/TokenTest.php \Drupal\Tests\Core\Utility\TokenTest::token
  2. 8.9.x core/tests/Drupal/Tests/Core/Utility/TokenTest.php \Drupal\Tests\Core\Utility\TokenTest::token
  3. 10 core/tests/Drupal/Tests/Core/Utility/TokenTest.php \Drupal\Tests\Core\Utility\TokenTest::token

The token service under test.

Type: \Drupal\Core\Utility\Token|\PHPUnit\Framework\MockObject\MockObject

File

core/tests/Drupal/Tests/Core/Utility/TokenTest.php, line 55

Class

TokenTest
@coversDefaultClass \Drupal\Core\Utility\Token @group Utility

Namespace

Drupal\Tests\Core\Utility

Code

protected $token;

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