public function WebformEmailProvider::__construct in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformEmailProvider.php \Drupal\webform\WebformEmailProvider::__construct()
Constructs a WebformEmailProvider.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration object factory.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler class to use for loading includes.
\Drupal\Core\Mail\MailManagerInterface $mail_manager: Mail manager service.
File
- src/
WebformEmailProvider.php, line 45
Class
- WebformEmailProvider
- Manages and provides HTML email support.
Namespace
Drupal\webformCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, MailManagerInterface $mail_manager) {
$this->configFactory = $config_factory;
$this->moduleHandler = $module_handler;
$this->mailManager = $mail_manager;
}