public function ExampleWebformHandler::defaultConfiguration in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_example_handler/src/Plugin/WebformHandler/ExampleWebformHandler.php \Drupal\webform_example_handler\Plugin\WebformHandler\ExampleWebformHandler::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides WebformHandlerBase::defaultConfiguration
File
- modules/
webform_example_handler/ src/ Plugin/ WebformHandler/ ExampleWebformHandler.php, line 67
Class
- ExampleWebformHandler
- Webform example handler.
Namespace
Drupal\webform_example_handler\Plugin\WebformHandlerCode
public function defaultConfiguration() {
return [
'message' => 'This is a custom message.',
'debug' => FALSE,
];
}