You are here

protected property MessengerTrait::$messenger in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Messenger/MessengerTrait.php \Drupal\Core\Messenger\MessengerTrait::messenger
  2. 10 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;