Search for messenger

  1. Search 7.x for messenger
  2. Search 9.5.x for messenger
  3. Search 10.3.x for messenger
  4. Search 11.x for messenger
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
messenger service core/core.services.yml Drupal\Core\Messenger\Messenger
Messenger class core/lib/Drupal/Core/Messenger/Messenger.php The messenger service.

All search results

Title Object type File name Summary
Messenger::all function core/lib/Drupal/Core/Messenger/Messenger.php
Messenger::deleteAll function core/lib/Drupal/Core/Messenger/Messenger.php
Messenger::deleteByType function core/lib/Drupal/Core/Messenger/Messenger.php
Messenger::messagesByType function core/lib/Drupal/Core/Messenger/Messenger.php
Messenger::__construct function core/lib/Drupal/Core/Messenger/Messenger.php Messenger constructor.
MessengerInterface interface core/lib/Drupal/Core/Messenger/MessengerInterface.php Stores runtime messages sent out to individual users on the page.
MessengerInterface.php file core/lib/Drupal/Core/Messenger/MessengerInterface.php
MessengerInterface::addError function core/lib/Drupal/Core/Messenger/MessengerInterface.php Adds a new error message to the queue.
MessengerInterface::addMessage function core/lib/Drupal/Core/Messenger/MessengerInterface.php Adds a new message to the queue.
MessengerInterface::addStatus function core/lib/Drupal/Core/Messenger/MessengerInterface.php Adds a new status message to the queue.
MessengerInterface::addWarning function core/lib/Drupal/Core/Messenger/MessengerInterface.php Adds a new warning message to the queue.
MessengerInterface::all function core/lib/Drupal/Core/Messenger/MessengerInterface.php Gets all messages.
MessengerInterface::deleteAll function core/lib/Drupal/Core/Messenger/MessengerInterface.php Deletes all messages.
MessengerInterface::deleteByType function core/lib/Drupal/Core/Messenger/MessengerInterface.php Deletes all messages of a certain type.
MessengerInterface::messagesByType function core/lib/Drupal/Core/Messenger/MessengerInterface.php Gets all messages of a certain type.
MessengerInterface::TYPE_ERROR constant core/lib/Drupal/Core/Messenger/MessengerInterface.php An error.
MessengerInterface::TYPE_STATUS constant core/lib/Drupal/Core/Messenger/MessengerInterface.php A status message.
MessengerInterface::TYPE_WARNING constant core/lib/Drupal/Core/Messenger/MessengerInterface.php A warning.
MessengerLegacyTest class core/tests/Drupal/KernelTests/Core/Messenger/MessengerLegacyTest.php @group Messenger
@group legacy
MessengerLegacyTest.php file core/tests/Drupal/KernelTests/Core/Messenger/MessengerLegacyTest.php
MessengerLegacyTest::getMessengerService function core/tests/Drupal/KernelTests/Core/Messenger/MessengerLegacyTest.php Retrieves the Messenger service from LegacyMessenger.
MessengerLegacyTest::testMessages function core/tests/Drupal/KernelTests/Core/Messenger/MessengerLegacyTest.php @covers \Drupal::messenger[[api-linebreak]]
@covers ::getMessengerService[[api-linebreak]]
@covers ::all[[api-linebreak]]
@covers ::addMessage[[api-linebreak]]
@covers ::addError[[api-linebreak]]
@covers ::addStatus[[api-linebreak]]
@covers…
MessengerTest class core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php @group Messenger
@coversDefaultClass \Drupal\Core\Messenger\Messenger[[api-linebreak]]
MessengerTest.php file core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php
MessengerTest::$messenger property core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php The messenger under test.
MessengerTest::setUp function core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php
MessengerTest::testAddMarkup function core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php Test adding markup.
MessengerTest::testAddNoDuplicates function core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php Tests we don't add duplicates.
MessengerTest::testAddWithDuplicates function core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php Tests we do add duplicates with repeat flag.
MessengerTest::testRemoveSingleMessage function core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php @covers ::addStatus[[api-linebreak]]
@covers ::deleteByType[[api-linebreak]]
@covers ::messagesByType[[api-linebreak]]
MessengerTrait trait core/lib/Drupal/Core/Messenger/MessengerTrait.php Provides a trait for the messenger service.
MessengerTrait.php file core/lib/Drupal/Core/Messenger/MessengerTrait.php
MessengerTrait::$messenger property core/lib/Drupal/Core/Messenger/MessengerTrait.php The messenger.
MessengerTrait::messenger function core/lib/Drupal/Core/Messenger/MessengerTrait.php Gets the messenger.
MessengerTrait::setMessenger function core/lib/Drupal/Core/Messenger/MessengerTrait.php Sets the messenger.
ModerationOptOutPublish::$messenger property core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublish.php Messenger service.
ModerationOptOutUnpublish::$messenger property core/modules/content_moderation/src/Plugin/Action/ModerationOptOutUnpublish.php Messenger service.
NodeSearch::$messenger property core/modules/node/src/Plugin/Search/NodeSearch.php The messenger.
OEmbed::$messenger property core/modules/media/src/Plugin/media/Source/OEmbed.php The messenger service.
OEmbedFormatter::$messenger property core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php The messenger service.
RevertOverridesForm::$messenger property core/modules/layout_builder/src/Form/RevertOverridesForm.php The messenger service.
RoleListBuilder::$messenger property core/modules/user/src/RoleListBuilder.php The messenger.
SearchPageListBuilder::$messenger property core/modules/search/src/SearchPageListBuilder.php The messenger.
Sql::$messenger property core/modules/views/src/Plugin/views/query/Sql.php The messenger.
SystemTestController::$messenger property core/modules/system/tests/modules/system_test/src/Controller/SystemTestController.php The messenger service.
SystemTestController::messengerServiceTest function core/modules/system/tests/modules/system_test/src/Controller/SystemTestController.php Tests setting messages and removing one before it is displayed.
VocabularyListBuilder::$messenger property core/modules/taxonomy/src/VocabularyListBuilder.php The messenger.
WorkspaceActivateForm::$messenger property core/modules/workspaces/src/Form/WorkspaceActivateForm.php The messenger service.
WorkspaceDeployForm::$messenger property core/modules/workspaces/src/Form/WorkspaceDeployForm.php The messenger service.
WorkspaceForm::$messenger property core/modules/workspaces/src/Form/WorkspaceForm.php The messenger service.

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