MessengerTrait::$messenger

Same name in other branches
  1. 9 core/lib/Drupal/Core/Messenger/MessengerTrait.php \Drupal\Core\Messenger\MessengerTrait::messenger
  2. 8.9.x core/lib/Drupal/Core/Messenger/MessengerTrait.php \Drupal\Core\Messenger\MessengerTrait::messenger
  3. 11.x core/lib/Drupal/Core/Messenger/MessengerTrait.php \Drupal\Core\Messenger\MessengerTrait::messenger

The messenger.

Type: \Drupal\Core\Messenger\MessengerInterface

File

core/lib/Drupal/Core/Messenger/MessengerTrait.php, line 15

Class

MessengerTrait
Provides a trait for the messenger service.

Namespace

Drupal\Core\Messenger

Code

protected $messenger;

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