TestController::$token

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/token_test/src/Controller/TestController.php \Drupal\token_test\Controller\TestController::token
  2. 8.9.x core/modules/system/tests/modules/token_test/src/Controller/TestController.php \Drupal\token_test\Controller\TestController::token
  3. 10 core/modules/system/tests/modules/token_test/src/Controller/TestController.php \Drupal\token_test\Controller\TestController::token

The token replacement system.

Type: \Drupal\Core\Utility\Token

File

core/modules/system/tests/modules/token_test/src/Controller/TestController.php, line 21

Class

TestController
Provides a test controller for token replacement.

Namespace

Drupal\token_test\Controller

Code

protected $token;

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