MailHandler

Provides a class for handling assembly and dispatch of contact mail messages.

Hierarchy

File

core/modules/contact/src/MailHandler.php, line 16

Namespace

Drupal\contact

Members

Name Modifiers Type Description
MailHandler::$languageManager protected property Language manager service.
MailHandler::$logger protected property Logger service.
MailHandler::$mailManager protected property Mail manager service.
MailHandler::$userStorage protected property The user entity storage handler.
MailHandler::sendMailMessages public function Sends mail messages as appropriate for a given Message form submission. Overrides MailHandlerInterface::sendMailMessages
MailHandler::__construct public function Constructs a new \Drupal\contact\MailHandler object.
StringTranslationTrait::$stringTranslation protected property The string translation service.
StringTranslationTrait::formatPlural protected function Formats a string containing a count of items.
StringTranslationTrait::getNumberOfPlurals protected function Returns the number of plurals supported by a given language.
StringTranslationTrait::getStringTranslation protected function Gets the string translation service.
StringTranslationTrait::setStringTranslation public function Sets the string translation service to use.
StringTranslationTrait::t protected function Translates a string to the current language or to a given language.
doc_Drupal
2016-10-29 09:25:12
Comments
Leave a Comment

Please login to continue.