MessageAction::$token

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Action/Plugin/Action/MessageAction.php \Drupal\Core\Action\Plugin\Action\MessageAction::token
  2. 10 core/lib/Drupal/Core/Action/Plugin/Action/MessageAction.php \Drupal\Core\Action\Plugin\Action\MessageAction::token
  3. 11.x core/lib/Drupal/Core/Action/Plugin/Action/MessageAction.php \Drupal\Core\Action\Plugin\Action\MessageAction::token

The token service.

Type: \Drupal\Core\Utility\Token

File

core/lib/Drupal/Core/Action/Plugin/Action/MessageAction.php, line 31

Class

MessageAction
Sends a message to the current user's screen.

Namespace

Drupal\Core\Action\Plugin\Action

Code

protected $token;

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