You are here

public function ActionWebformHandler::defaultConfiguration in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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 83

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,
  ];
}