public function YamlFormEmailProvider::__construct in YAML Form 8
Constructs a new YamlFormEmailProvider.
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/
YamlFormEmailProvider.php, line 45  
Class
- YamlFormEmailProvider
 - Manages and provides HTML email support.
 
Namespace
Drupal\yamlformCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, MailManagerInterface $mail_manager) {
  $this->configFactory = $config_factory;
  $this->moduleHandler = $module_handler;
  $this->mailManager = $mail_manager;
}