public function MailManager::__construct in Easy Email 8
Same name and namespace in other branches
- 2.0.x modules/easy_email_override/src/Service/MailManager.php \Drupal\easy_email_override\Service\MailManager::__construct()
Constructs the EmailManager object.
Parameters
\Drupal\Core\Mail\MailManagerInterface $decorated:
\Traversable $namespaces:
ModuleHandlerInterface $module_handler:
Overrides DefaultPluginManager::__construct
File
- modules/
easy_email_override/ src/ Service/ MailManager.php, line 34
Class
- MailManager
- Class MailManager.
Namespace
Drupal\easy_email_override\ServiceCode
public function __construct(MailManagerInterface $decorated, \Traversable $namespaces, ModuleHandlerInterface $module_handler) {
parent::__construct('Plugin/Mail', $namespaces, $module_handler, 'Drupal\\Core\\Mail\\MailInterface', 'Drupal\\Core\\Annotation\\Mail');
$this->decorated = $decorated;
}