You are here

public function ScheduleEmailWebformHandler::defaultConfiguration in Webform 8.5

Same name and namespace in other branches
  1. 6.x modules/webform_scheduled_email/src/Plugin/WebformHandler/ScheduleEmailWebformHandler.php \Drupal\webform_scheduled_email\Plugin\WebformHandler\ScheduleEmailWebformHandler::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides EmailWebformHandler::defaultConfiguration

File

modules/webform_scheduled_email/src/Plugin/WebformHandler/ScheduleEmailWebformHandler.php, line 33

Class

ScheduleEmailWebformHandler
Schedules a webform submission's email.

Namespace

Drupal\webform_scheduled_email\Plugin\WebformHandler

Code

public function defaultConfiguration() {
  return parent::defaultConfiguration() + [
    'send' => '[date:html_date]',
    'days' => '',
    'unschedule' => FALSE,
    'ignore_past' => FALSE,
    'test_send' => FALSE,
  ];
}