@@ -2252,13 +2252,19 @@ Name of the workflow you want to create.
2252
2252
audit_trail
2253
2253
"""""""""""
2254
2254
2255
- **type **: ``array ``
2255
+ **type **: ``bool ``
2256
+
2257
+ Whether to enable automatically the :class: `Symfony\\ Component\\ Workflow\\ EventListener\\ AuditTrailListener `.
2256
2258
2257
2259
initial_place
2258
2260
"""""""""""""
2259
2261
2260
2262
**type **: ``string `` **default **: ``null ``
2261
2263
2264
+ One of the ``places `` or ``null ``.
2265
+ If not null and the supported object is not already initialized via the workflow,
2266
+ this place will be set.
2267
+
2262
2268
marking_store
2263
2269
"""""""""""""
2264
2270
@@ -2276,11 +2282,15 @@ places
2276
2282
2277
2283
**type **: ``array ``
2278
2284
2285
+ All available places for this workflow configuration.
2286
+
2279
2287
supports
2280
2288
""""""""
2281
2289
2282
2290
**type **: ``string `` | ``array ``
2283
2291
2292
+ Object(s) that is(are) supported by this workflow configuration.
2293
+
2284
2294
support_strategy
2285
2295
""""""""""""""""
2286
2296
@@ -2293,11 +2303,13 @@ transitions
2293
2303
2294
2304
Each marking store can define any of these options:
2295
2305
2296
- * ``from `` (**type **: ``string ``)
2297
- * ``guard `` (**type **: ``string ``) a :doc: `ExpressionLanguage </components/expression_language >`
2306
+ * ``from `` (**type **: ``string `` or ``array ``) value from the ``places ``,
2307
+ multiple values are allowed for both ``workflow `` and ``state_machine ``
2308
+ * ``guard `` (**type **: ``string ``) an :doc: `ExpressionLanguage </components/expression_language >`
2298
2309
compatible expression to block the transition
2299
- * ``name `` (**type **: ``string ``)
2300
- * ``to `` (**type **: ``string ``)
2310
+ * ``name `` (**type **: ``string ``) the name of the transition
2311
+ * ``to `` (**type **: ``string `` or ``array ``) value from the ``places ``,
2312
+ multiple values are allowed only for ``workflow ``
2301
2313
2302
2314
.. _reference-workflows-type :
2303
2315
0 commit comments