messenger

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

Class

Drupal\Core\Messenger\Messenger
8 string references to messenger
DeleteMultipleForm::create in core/lib/Drupal/Core/Entity/Form/DeleteMultipleForm.php
Instantiates a new instance of this class.
DevelopmentSettingsForm::create in core/modules/system/src/Form/DevelopmentSettingsForm.php
Instantiates a new instance of this class.
FileImageDimensionsConstraintValidator::create in core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidator.php
Instantiates a new instance of this class.
HelpSearch::create in core/modules/help/src/Plugin/Search/HelpSearch.php
Creates an instance of the plugin.
MessageAction::create in core/lib/Drupal/Core/Action/Plugin/Action/MessageAction.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.