MailAddedEvent.php in Views Send 8
Namespace
Drupal\views_send\EventFile
src/Event/MailAddedEvent.phpView source
<?php
namespace Drupal\views_send\Event;
use Symfony\Component\EventDispatcher\Event;
use Drupal\Core\TypedData\Plugin\DataType\Map;
/**
* Event that is fired when an e-mail has been added to the spool.
*/
class MailAddedEvent extends Event {
const EVENT_NAME = 'views_send_email_added_to_spool';
/**
* 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);
*/
}
}
Classes
Name | Description |
---|---|
MailAddedEvent | Event that is fired when an e-mail has been added to the spool. |