function WorkflowTypeBase::defaultConfiguration
Same name in other branches
- 8.9.x core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::defaultConfiguration()
- 10 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::defaultConfiguration()
- 11.x core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::defaultConfiguration()
Overrides ConfigurableInterface::defaultConfiguration
2 calls to WorkflowTypeBase::defaultConfiguration()
- ComplexTestType::defaultConfiguration in core/
modules/ workflows/ tests/ modules/ workflow_type_test/ src/ Plugin/ WorkflowType/ ComplexTestType.php - Gets default configuration for this plugin.
- WorkflowTypeBase::setConfiguration in core/
modules/ workflows/ src/ Plugin/ WorkflowTypeBase.php - Sets the configuration for this plugin instance.
5 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.
- ContentModeration::defaultConfiguration in core/
modules/ content_moderation/ src/ Plugin/ WorkflowType/ ContentModeration.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\PluginCode
public function defaultConfiguration() {
return [
'states' => [],
'transitions' => [],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.