public function PostMailSendEvent::__construct in Commerce Core 8.2
Constructs a new PostMailSendEvent object.
Parameters
array $params: An array of emails parameters.
array $message: 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 42
Class
- PostMailSendEvent
- Provides the event dispatched after sending emails via the mail handler.
Namespace
Drupal\commerce\EventCode
public function __construct(array $params, array $message) {
$this->params = $params;
$this->message = $message;
}