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