@@ -2628,13 +2628,19 @@ Name of the workflow you want to create.
2628
2628
audit_trail
2629
2629
"""""""""""
2630
2630
2631
- **type **: ``array ``
2631
+ **type **: ``bool ``
2632
+
2633
+ If set to ``true ``, the :class: `Symfony\\ Component\\ Workflow\\ EventListener\\ AuditTrailListener `
2634
+ will be enabled.
2632
2635
2633
2636
initial_place
2634
2637
"""""""""""""
2635
2638
2636
2639
**type **: ``string `` **default **: ``null ``
2637
2640
2641
+ One of the ``places `` or ``null ``. If not null and the supported object is not
2642
+ already initialized via the workflow, this place will be set.
2643
+
2638
2644
marking_store
2639
2645
"""""""""""""
2640
2646
@@ -2652,11 +2658,16 @@ places
2652
2658
2653
2659
**type **: ``array ``
2654
2660
2661
+ All available places (**type **: ``string ``) for the workflow configuration.
2662
+
2655
2663
supports
2656
2664
""""""""
2657
2665
2658
2666
**type **: ``string `` | ``array ``
2659
2667
2668
+ The FQCN (fully-qualified class name) of the object supported by the workflow
2669
+ configuration or an array of FQCN if multiple objects are supported.
2670
+
2660
2671
support_strategy
2661
2672
""""""""""""""""
2662
2673
@@ -2669,11 +2680,13 @@ transitions
2669
2680
2670
2681
Each marking store can define any of these options:
2671
2682
2672
- * ``from `` (**type **: ``string ``)
2673
- * ``guard `` (**type **: ``string ``) a :doc: `ExpressionLanguage </components/expression_language >`
2674
- compatible expression to block the transition
2675
- * ``name `` (**type **: ``string ``)
2676
- * ``to `` (**type **: ``string ``)
2683
+ * ``from `` (**type **: ``string `` or ``array ``) value from the ``places ``,
2684
+ multiple values are allowed for both ``workflow `` and ``state_machine ``;
2685
+ * ``guard `` (**type **: ``string ``) an :doc: `ExpressionLanguage </components/expression_language >`
2686
+ compatible expression to block the transition;
2687
+ * ``name `` (**type **: ``string ``) the name of the transition;
2688
+ * ``to `` (**type **: ``string `` or ``array ``) value from the ``places ``,
2689
+ multiple values are allowed only for ``workflow ``.
2677
2690
2678
2691
.. _reference-workflows-type :
2679
2692
0 commit comments