class MailSentEvent in Views Send 8
Event that is fired when an e-mail has been sent.
Hierarchy
- class \Drupal\views_send\Event\MailSentEvent extends \Symfony\Component\EventDispatcher\Event
Expanded class hierarchy of MailSentEvent
2 files declare their use of MailSentEvent
- views_send.cron.inc in ./
views_send.cron.inc - Views Send cron rotuines.
- views_send.module in ./
views_send.module - The Views Send module.
File
- src/
Event/ MailSentEvent.php, line 11
Namespace
Drupal\views_send\EventView source
class MailSentEvent extends Event {
const EVENT_NAME = 'views_send_email_sent';
/**
* The message.
*
* @var \Drupal\Core\TypedData\Plugin\DataType\Map
*/
public $message;
/**
* Constructs the object.
*
* @param array $message
* The message.
*/
public function __construct($message) {
/*
FIXME
$this->message = new Map();
$this->message->setValue($message);
*/
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MailSentEvent:: |
public | property | The message. | |
MailSentEvent:: |
constant | |||
MailSentEvent:: |
public | function | Constructs the object. |