You are here

public function WebformVariantBase::defaultConfiguration in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformVariantBase.php \Drupal\webform\Plugin\WebformVariantBase::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

1 call to WebformVariantBase::defaultConfiguration()
WebformVariantBase::setConfiguration in src/Plugin/WebformVariantBase.php
Sets the configuration for this plugin instance.
3 methods override WebformVariantBase::defaultConfiguration()
ExampleWebformVariant::defaultConfiguration in modules/webform_example_variant/src/Plugin/WebformVariant/ExampleWebformVariant.php
Gets default configuration for this plugin.
OverrideWebformVariant::defaultConfiguration in src/Plugin/WebformVariant/OverrideWebformVariant.php
Gets default configuration for this plugin.
TestWebformVariant::defaultConfiguration in tests/modules/webform_test_variant/src/Plugin/WebformVariant/TestWebformVariant.php
Gets default configuration for this plugin.

File

src/Plugin/WebformVariantBase.php, line 328

Class

WebformVariantBase
Provides a base class for a webform variant.

Namespace

Drupal\webform\Plugin

Code

public function defaultConfiguration() {
  return [];
}