You are here

public function PostMailSendEvent::getMessage in Commerce Core 8.2

Gets the message array.

Return value

array The $message array structure containing all details of the message. If already sent ($send = TRUE), then the 'result' element will contain the success indicator of the email, failure being already written to the watchdog.

File

src/Event/PostMailSendEvent.php, line 66

Class

PostMailSendEvent
Provides the event dispatched after sending emails via the mail handler.

Namespace

Drupal\commerce\Event

Code

public function getMessage() {
  return $this->message;
}