public function ExampleWebformVariant::defaultConfiguration in Webform 6.x
Same name and namespace in other branches
- 8.5 modules/webform_example_variant/src/Plugin/WebformVariant/ExampleWebformVariant.php \Drupal\webform_example_variant\Plugin\WebformVariant\ExampleWebformVariant::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides WebformVariantBase::defaultConfiguration
File
- modules/
webform_example_variant/ src/ Plugin/ WebformVariant/ ExampleWebformVariant.php, line 24
Class
- ExampleWebformVariant
- Webform example variant.
Namespace
Drupal\webform_example_variant\Plugin\WebformVariantCode
public function defaultConfiguration() {
return [
'debug' => FALSE,
'description__markup' => '',
'notes__type' => 'textfield',
];
}