public function WorkflowTypeBase::defaultConfiguration in Drupal 9
Same name and namespace in other branches
- 8 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
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' => [],
];
}