You are here

class AllMailAddedEvent in Views Send 8

Event that is fired when all e-mails have been added to the spool.

Hierarchy

  • class \Drupal\views_send\Event\AllMailAddedEvent extends \Symfony\Component\EventDispatcher\Event

Expanded class hierarchy of AllMailAddedEvent

1 file declares its use of AllMailAddedEvent
views_send.module in ./views_send.module
The Views Send module.

File

src/Event/AllMailAddedEvent.php, line 10

Namespace

Drupal\views_send\Event
View source
class AllMailAddedEvent extends Event {
  const EVENT_NAME = 'views_send_all_email_added_to_spool';

  /**
   * The message account.
   *
   * @var \Drupal\Core\TypedData\Type\IntegerInterface
   */
  public $count;

  /**
   * Constructs the object.
   *
   * @param \Drupal\Core\TypedData\Type\IntegerInterface $count
   *   The message count.
   */
  public function __construct($count) {
    $this->count = $count;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AllMailAddedEvent::$count public property The message account.
AllMailAddedEvent::EVENT_NAME constant
AllMailAddedEvent::__construct public function Constructs the object.