You are here

public function WorkflowTypeBase::defaultConfiguration in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::defaultConfiguration()
  2. 9 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::defaultConfiguration()
4 methods override WorkflowTypeBase::defaultConfiguration()
ComplexTestType::defaultConfiguration in core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/ComplexTestType.php
Gets default configuration for this plugin.
PredefinedStatesWorkflowTestType::defaultConfiguration in core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/PredefinedStatesWorkflowTestType.php
Gets default configuration for this plugin.
RequiredStateTestType::defaultConfiguration in core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/RequiredStateTestType.php
Gets default configuration for this plugin.
WorkflowCustomAccessType::defaultConfiguration in core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/WorkflowCustomAccessType.php
Gets default configuration for this plugin.

File

core/modules/workflows/src/Plugin/WorkflowTypeBase.php, line 84

Class

WorkflowTypeBase
A base class for Workflow type plugins.

Namespace

Drupal\workflows\Plugin

Code

public function defaultConfiguration() {
  return [
    'states' => [],
    'transitions' => [],
  ];
}