mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Fix deprecation on single task workflow declaration
This commit is contained in:
parent
da6f8511a8
commit
d08980c8d1
@ -80,15 +80,13 @@ class ChillTaskExtension extends Extension implements PrependExtensionInterface
|
||||
'workflows' => [
|
||||
'task_default' => [
|
||||
'marking_store' => [
|
||||
'type' => 'multiple_state',
|
||||
'arguments' => [
|
||||
'currentStates',
|
||||
],
|
||||
'type' => 'method',
|
||||
'property' => 'currentStates',
|
||||
],
|
||||
'type' => 'state_machine',
|
||||
'support_strategy' => TaskWorkflowManager::class,
|
||||
'places' => ['new', 'in_progress', 'closed', 'canceled'],
|
||||
'initial_place' => 'new',
|
||||
'initial_marking' => ['new'],
|
||||
'transitions' => [
|
||||
'start' => [
|
||||
'from' => 'new',
|
||||
|
Loading…
x
Reference in New Issue
Block a user