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
MailHandler::sendMailMessages function core/modules/contact/src/MailHandler.php Sends mail messages as appropriate for a given Message form submission.
MailHandler::__construct function core/modules/contact/src/MailHandler.php Constructs a new \Drupal\contact\MailHandler object.
MailHandlerInterface::sendMailMessages function core/modules/contact/src/MailHandlerInterface.php Sends mail messages as appropriate for a given Message form submission.
MailHandlerTest class core/modules/contact/tests/src/Unit/MailHandlerTest.php @coversDefaultClass \Drupal\contact\MailHandler[[api-linebreak]]
@group contact
MailHandlerTest.php file core/modules/contact/tests/src/Unit/MailHandlerTest.php
MailHandlerTest::$contactForm property core/modules/contact/tests/src/Unit/MailHandlerTest.php The contact form entity.
MailHandlerTest::$contactMailHandler property core/modules/contact/tests/src/Unit/MailHandlerTest.php Contact mail messages service.
MailHandlerTest::$entityTypeManager property core/modules/contact/tests/src/Unit/MailHandlerTest.php The entity type manager.
MailHandlerTest::$languageManager property core/modules/contact/tests/src/Unit/MailHandlerTest.php Language manager service.
MailHandlerTest::$logger property core/modules/contact/tests/src/Unit/MailHandlerTest.php Logger service.
MailHandlerTest::$mailManager property core/modules/contact/tests/src/Unit/MailHandlerTest.php Mail manager service.
MailHandlerTest::$userStorage property core/modules/contact/tests/src/Unit/MailHandlerTest.php The user storage handler.
MailHandlerTest::getAnonymousMockMessage function core/modules/contact/tests/src/Unit/MailHandlerTest.php Builds a mock message from anonymous user.
MailHandlerTest::getAuthenticatedMockMessage function core/modules/contact/tests/src/Unit/MailHandlerTest.php Builds a mock message from authenticated user.
MailHandlerTest::getMockContactForm function core/modules/contact/tests/src/Unit/MailHandlerTest.php Builds a mock message on given scenario.
MailHandlerTest::getMockSender function core/modules/contact/tests/src/Unit/MailHandlerTest.php Builds a mock sender on given scenario.
MailHandlerTest::getSendMailMessages function core/modules/contact/tests/src/Unit/MailHandlerTest.php Data provider for ::testSendMailMessages.
MailHandlerTest::setUp function core/modules/contact/tests/src/Unit/MailHandlerTest.php
MailHandlerTest::testInvalidRecipient function core/modules/contact/tests/src/Unit/MailHandlerTest.php Tests the children() method with an invalid key.
MailHandlerTest::testSendMailMessages function core/modules/contact/tests/src/Unit/MailHandlerTest.php Tests the sendMailMessages method.
MailManager::$instances property core/lib/Drupal/Core/Mail/MailManager.php List of already instantiated mail plugins.
MailManager::getInstance function core/lib/Drupal/Core/Mail/MailManager.php Overrides PluginManagerBase::getInstance().
MailManager::__construct function core/lib/Drupal/Core/Mail/MailManager.php Constructs the MailManager object.
MailManagerTest class core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php @coversDefaultClass \Drupal\Core\Mail\MailManager[[api-linebreak]]
@group Mail
MailManagerTest.php file core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php
MailManagerTest::$cache property core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php The cache backend to use.
MailManagerTest::$configFactory property core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php The configuration factory.
MailManagerTest::$definitions property core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php A list of mail plugin definitions.
MailManagerTest::$discovery property core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php The plugin discovery.
MailManagerTest::$mailManager property core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php The mail manager under test.
MailManagerTest::$moduleHandler property core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php The module handler.
MailManagerTest::$renderer property core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php The renderer.
MailManagerTest::$request property core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php The current request.
MailManagerTest::$requestStack property core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php The request stack.
MailManagerTest::setUp function core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php
MailManagerTest::setUpMailManager function core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php Sets up the mail manager for testing.
MailManagerTest::testGetInstance function core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php Tests the getInstance method.
MailManagerTest::testMailInRenderContext function core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php Tests that mails are sent in a separate render context.
MailTest class core/modules/system/tests/src/Kernel/Mail/MailTest.php Performs tests on the pluggable mailing framework.
MailTest.php file core/modules/system/tests/src/Kernel/Mail/MailTest.php
MailTest::$modules property core/modules/system/tests/src/Kernel/Mail/MailTest.php Modules to install.
MailTest::configureDefaultMailInterface function core/modules/system/tests/src/Kernel/Mail/MailTest.php Configures the default mail interface.
MailTest::setUp function core/modules/system/tests/src/Kernel/Mail/MailTest.php
MailTest::testCancelMessage function core/modules/system/tests/src/Kernel/Mail/MailTest.php Tests that message sending may be canceled.
MailTest::testConvertRelativeUrlsIntoAbsolute function core/modules/system/tests/src/Kernel/Mail/MailTest.php Checks that relative paths in mails are converted into absolute URLs.
MailTest::testErrorMessageDisplay function core/modules/system/tests/src/Kernel/Mail/MailTest.php Assert that the pluggable mail system is functional.
MailTest::testFromAndReplyToHeader function core/modules/system/tests/src/Kernel/Mail/MailTest.php Checks the From: and Reply-to: headers.
MailTest::testPluggableFramework function core/modules/system/tests/src/Kernel/Mail/MailTest.php Assert that the pluggable mail system is functional.
MailTest::testRenderedElementsUseAbsolutePaths function core/modules/system/tests/src/Kernel/Mail/MailTest.php Checks that mails built from render arrays contain absolute paths.
MailToFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/MailToFormatter.php Builds a renderable array for a field value.

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