You are here

public function SettingsWebformHandler::defaultConfiguration in Webform 8.5

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

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides WebformHandlerBase::defaultConfiguration

3 calls to SettingsWebformHandler::defaultConfiguration()
SettingsWebformHandler::buildConfigurationForm in src/Plugin/WebformHandler/SettingsWebformHandler.php
Form constructor.
SettingsWebformHandler::getSettingsOverride in src/Plugin/WebformHandler/SettingsWebformHandler.php
Get overridden settings.
SettingsWebformHandler::submitConfigurationForm in src/Plugin/WebformHandler/SettingsWebformHandler.php
Form submission handler.

File

src/Plugin/WebformHandler/SettingsWebformHandler.php, line 108

Class

SettingsWebformHandler
Webform submission settings handler.

Namespace

Drupal\webform\Plugin\WebformHandler

Code

public function defaultConfiguration() {
  return [
    'preview_title' => '',
    'preview_message' => '',
    'confirmation_url' => '',
    'confirmation_title' => '',
    'confirmation_message' => '',
    'debug' => FALSE,
  ];
}