public function EmailYamlFormHandler::__construct in YAML Form 8
Constructs a \Drupal\Component\Plugin\PluginBase object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
Overrides YamlFormHandlerBase::__construct
File
- src/
Plugin/ YamlFormHandler/ EmailYamlFormHandler.php, line 65
Class
- EmailYamlFormHandler
- Emails a form submission.
Namespace
Drupal\yamlform\Plugin\YamlFormHandlerCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, LoggerInterface $logger, MailManagerInterface $mail_manager, ConfigFactoryInterface $config_factory, YamlFormTokenManagerInterface $token_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $logger);
$this->mailManager = $mail_manager;
$this->configFactory = $config_factory;
$this->tokenManager = $token_manager;
}