You are here

public function TestWebformHandler::defaultConfiguration in Webform 6.x

Same name and namespace in other branches
  1. 8.5 tests/modules/webform_test_handler/src/Plugin/WebformHandler/TestWebformHandler.php \Drupal\webform_test_handler\Plugin\WebformHandler\TestWebformHandler::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides WebformHandlerBase::defaultConfiguration

File

tests/modules/webform_test_handler/src/Plugin/WebformHandler/TestWebformHandler.php, line 30

Class

TestWebformHandler
Webform submission test handler.

Namespace

Drupal\webform_test_handler\Plugin\WebformHandler

Code

public function defaultConfiguration() {
  return [
    'message' => 'One two one two this is just a test',
  ];
}