public function QueuedEmail::__construct in Workbench Email 8
Same name and namespace in other branches
- 2.x src/QueuedEmail.php \Drupal\workbench_email\QueuedEmail::__construct()
Constructs a new QueuedEmail object.
Parameters
\Drupal\workbench_email\TemplateInterface $template: Template to use.
string $uuid: Entity to use for token replacement.
string $to: Email to send to.
File
- src/
QueuedEmail.php, line 41
Class
- QueuedEmail
- A value object for queued email.
Namespace
Drupal\workbench_emailCode
public function __construct(TemplateInterface $template, $uuid, $to) {
$this->template = $template;
$this->uuid = $uuid;
$this->to = $to;
}