MessageAction::$messenger

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

The messenger.

Type: \Drupal\Core\Messenger\MessengerInterface

File

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

Class

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

Namespace

Drupal\Core\Action\Plugin\Action

Code

protected $messenger;

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