You are here

public function ActionWebformHandler::defaultConfiguration in Webform 8.5

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

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides WebformHandlerBase::defaultConfiguration

File

src/Plugin/WebformHandler/ActionWebformHandler.php, line 103

Class

ActionWebformHandler
Webform submission action handler.

Namespace

Drupal\webform\Plugin\WebformHandler

Code

public function defaultConfiguration() {
  return [
    'states' => [
      WebformSubmissionInterface::STATE_COMPLETED,
    ],
    'notes' => '',
    'sticky' => NULL,
    'locked' => NULL,
    'data' => '',
    'message' => '',
    'message_type' => 'status',
    'debug' => FALSE,
  ];
}