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