messenger

Same name in other branches
  1. 9 core/core.services.yml \messenger
  2. 8.9.x core/core.services.yml \messenger

Class

Drupal\Core\Messenger\Messenger
35 string references to messenger
AjaxFormBlock::create in core/modules/system/tests/modules/ajax_forms_test/src/Plugin/Block/AjaxFormBlock.php
Creates an instance of the plugin.
AreaDisplayLinkTest::assertNoWarningMessages in core/modules/views/tests/src/Kernel/Handler/AreaDisplayLinkTest.php
Assert no warning messages are shown when all display are equal.
AreaDisplayLinkTest::assertWarningMessages in core/modules/views/tests/src/Kernel/Handler/AreaDisplayLinkTest.php
Assert the warning messages are shown after changing the page_1 display.
BlockListBuilder::createInstance in core/modules/block/src/BlockListBuilder.php
Instantiates a new instance of this entity handler.
BulkForm::create in core/modules/views/src/Plugin/views/field/BulkForm.php
Creates an instance of the plugin.

... See full list

File

core/core.services.yml

View source
  1. class: Drupal\Core\Messenger\Messenger
  2. arguments:
  3. - '@session.flash_bag'
  4. - '@page_cache_kill_switch'

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