MandrillTestMail.php in Mandrill 8
Namespace
Drupal\mandrill\Plugin\MailFile
src/Plugin/Mail/MandrillTestMail.phpView source
<?php
namespace Drupal\mandrill\Plugin\Mail;
/**
* Mandrill test mail plugin.
*
* @Mail(
* id = "mandrill_test_mail",
* label = @Translation("Mandrill test mailer"),
* description = @Translation("Sends test messages through Mandrill.")
* )
*/
class MandrillTestMail extends MandrillMail {
/**
* Constructor.
*/
public function __construct() {
parent::__construct();
$this->mandrill = \Drupal::service('mandrill.test.service');
}
}
Classes
Name | Description |
---|---|
MandrillTestMail | Mandrill test mail plugin. |