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' => [
|
'workflows' => [
|
||||||
'task_default' => [
|
'task_default' => [
|
||||||
'marking_store' => [
|
'marking_store' => [
|
||||||
'type' => 'multiple_state',
|
'type' => 'method',
|
||||||
'arguments' => [
|
'property' => 'currentStates',
|
||||||
'currentStates',
|
|
||||||
],
|
|
||||||
],
|
],
|
||||||
'type' => 'state_machine',
|
'type' => 'state_machine',
|
||||||
'support_strategy' => TaskWorkflowManager::class,
|
'support_strategy' => TaskWorkflowManager::class,
|
||||||
'places' => ['new', 'in_progress', 'closed', 'canceled'],
|
'places' => ['new', 'in_progress', 'closed', 'canceled'],
|
||||||
'initial_place' => 'new',
|
'initial_marking' => ['new'],
|
||||||
'transitions' => [
|
'transitions' => [
|
||||||
'start' => [
|
'start' => [
|
||||||
'from' => 'new',
|
'from' => 'new',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user