You are here

public function ExampleWebformVariant::defaultConfiguration in Webform 8.5

Same name and namespace in other branches
  1. 6.x 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\WebformVariant

Code

public function defaultConfiguration() {
  return [
    'debug' => FALSE,
    'description__markup' => '',
    'notes__type' => 'textfield',
  ];
}