Messenger::$flashBag

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

The flash bag.

Type: \Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface

File

core/lib/Drupal/Core/Messenger/Messenger.php, line 20

Class

Messenger
The messenger service.

Namespace

Drupal\Core\Messenger

Code

protected $flashBag;

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