You are here

service messenger in Drupal 10

Same name and namespace in other branches
  1. 8 core/core.services.yml \messenger
  2. 9 core/core.services.yml \messenger

Class

Drupal\Core\Messenger\Messenger
32 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

... See full list

File

core/core.services.yml
core/core.services.yml

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