Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
MessageXmlCookieTest.php file core/modules/contact/tests/src/Functional/Rest/MessageXmlCookieTest.php
MessageXmlCookieTest::$auth property core/modules/contact/tests/src/Functional/Rest/MessageXmlCookieTest.php The authentication mechanism to use in this test.
MessageXmlCookieTest::$defaultTheme property core/modules/contact/tests/src/Functional/Rest/MessageXmlCookieTest.php The theme to install as the default for testing.
MessageXmlCookieTest::$format property core/modules/contact/tests/src/Functional/Rest/MessageXmlCookieTest.php The format to use in this test.
MessageXmlCookieTest::$mimeType property core/modules/contact/tests/src/Functional/Rest/MessageXmlCookieTest.php The MIME type that corresponds to $format.
message_test.info.yml file core/modules/migrate/tests/modules/message_test/message_test.info.yml core/modules/migrate/tests/modules/message_test/message_test.info.yml
Messenger class core/lib/Drupal/Core/Messenger/Messenger.php The messenger service.
messenger service core/core.services.yml Drupal\Core\Messenger\Messenger
Messenger.php file core/lib/Drupal/Core/Messenger/Messenger.php
Messenger::$flashBag property core/lib/Drupal/Core/Messenger/Messenger.php The flash bag.
Messenger::$killSwitch property core/lib/Drupal/Core/Messenger/Messenger.php The kill switch.
Messenger::addError function core/lib/Drupal/Core/Messenger/Messenger.php Adds a new error message to the queue.
Messenger::addMessage function core/lib/Drupal/Core/Messenger/Messenger.php Adds a new message to the queue.
Messenger::addStatus function core/lib/Drupal/Core/Messenger/Messenger.php Adds a new status message to the queue.
Messenger::addWarning function core/lib/Drupal/Core/Messenger/Messenger.php Adds a new warning message to the queue.
Messenger::all function core/lib/Drupal/Core/Messenger/Messenger.php Gets all messages.
Messenger::deleteAll function core/lib/Drupal/Core/Messenger/Messenger.php Deletes all messages.
Messenger::deleteByType function core/lib/Drupal/Core/Messenger/Messenger.php Deletes all messages of a certain type.
Messenger::messagesByType function core/lib/Drupal/Core/Messenger/Messenger.php Gets all messages of a certain type.
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.
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 Tests 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.
MetadataBag::CSRF_TOKEN_SEED constant core/lib/Drupal/Core/Session/MetadataBag.php The key used to store the CSRF token seed in the session.
MetadataBag::getCsrfTokenSeed function core/lib/Drupal/Core/Session/MetadataBag.php Get the CSRF token seed.
MetadataBag::setCsrfTokenSeed function core/lib/Drupal/Core/Session/MetadataBag.php Set the CSRF token seed.
MetadataBag::stampNew function core/lib/Drupal/Core/Session/MetadataBag.php phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn

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