You are here

public function ComplexTestType::defaultConfiguration in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/ComplexTestType.php \Drupal\workflow_type_test\Plugin\WorkflowType\ComplexTestType::defaultConfiguration()
  2. 9 core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/ComplexTestType.php \Drupal\workflow_type_test\Plugin\WorkflowType\ComplexTestType::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides WorkflowTypeBase::defaultConfiguration

File

core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/ComplexTestType.php, line 37

Class

ComplexTestType
Test workflow type.

Namespace

Drupal\workflow_type_test\Plugin\WorkflowType

Code

public function defaultConfiguration() {
  return parent::defaultConfiguration() + [
    'example_setting' => '',
  ];
}