public function EmailYamlFormHandler::defaultConfiguration in YAML Form 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides YamlFormHandlerBase::defaultConfiguration
File
- src/
Plugin/ YamlFormHandler/ EmailYamlFormHandler.php, line 99
Class
- EmailYamlFormHandler
- Emails a form submission.
Namespace
Drupal\yamlform\Plugin\YamlFormHandlerCode
public function defaultConfiguration() {
return [
'to_mail' => 'default',
'cc_mail' => '',
'bcc_mail' => '',
'from_mail' => 'default',
'from_name' => 'default',
'subject' => 'default',
'body' => 'default',
'excluded_elements' => [],
'html' => TRUE,
'attachments' => FALSE,
'debug' => FALSE,
];
}