You are here

public function OverrideWebformVariant::defaultConfiguration in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformVariant/OverrideWebformVariant.php \Drupal\webform\Plugin\WebformVariant\OverrideWebformVariant::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides WebformVariantBase::defaultConfiguration

File

src/Plugin/WebformVariant/OverrideWebformVariant.php, line 44

Class

OverrideWebformVariant
Webform override variant.

Namespace

Drupal\webform\Plugin\WebformVariant

Code

public function defaultConfiguration() {
  return [
    'settings' => [],
    'elements' => '',
    'handlers' => [],
    'debug' => FALSE,
  ];
}