@@ -2249,16 +2249,33 @@ name
2249
2249
2250
2250
Name of the workflow you want to create.
2251
2251
2252
+ .. _reference-workflows-type :
2253
+
2254
+ type
2255
+ """"
2256
+
2257
+ **type **: ``string `` **possible values **: ``'workflow' `` or ``'state_machine' ``
2258
+
2259
+ Defines the kind of workflow that is going to be created, which can be either
2260
+ a normal workflow or a state machine. Read :doc: `this article </workflow/introduction >`
2261
+ to know their differences.
2262
+
2252
2263
audit_trail
2253
2264
"""""""""""
2254
2265
2255
- **type **: ``array ``
2266
+ **type **: ``bool ``
2267
+
2268
+ Whether to enable automatically the :class: `Symfony\\ Component\\ Workflow\\ EventListener\\ AuditTrailListener `.
2256
2269
2257
2270
initial_place
2258
2271
"""""""""""""
2259
2272
2260
2273
**type **: ``string `` **default **: ``null ``
2261
2274
2275
+ One of the ``places `` or ``null ``.
2276
+ If not null and the supported object is not already initialized via the workflow,
2277
+ this place will be set.
2278
+
2262
2279
marking_store
2263
2280
"""""""""""""
2264
2281
@@ -2276,11 +2293,15 @@ places
2276
2293
2277
2294
**type **: ``array ``
2278
2295
2296
+ All available places for this workflow configuration.
2297
+
2279
2298
supports
2280
2299
""""""""
2281
2300
2282
2301
**type **: ``string `` | ``array ``
2283
2302
2303
+ Object(s) that is(are) supported by this workflow configuration.
2304
+
2284
2305
support_strategy
2285
2306
""""""""""""""""
2286
2307
@@ -2293,22 +2314,13 @@ transitions
2293
2314
2294
2315
Each marking store can define any of these options:
2295
2316
2296
- * ``from `` (**type **: ``string ``)
2297
- * ``guard `` (**type **: ``string ``) a :doc: `ExpressionLanguage </components/expression_language >`
2317
+ * ``name `` (**type **: ``string ``) the name of the transition
2318
+ * ``guard `` (**type **: ``string ``) an :doc: `ExpressionLanguage </components/expression_language >`
2298
2319
compatible expression to block the transition
2299
- * ``name `` (**type **: ``string ``)
2300
- * ``to `` (**type **: ``string ``)
2301
-
2302
- .. _reference-workflows-type :
2303
-
2304
- type
2305
- """"
2306
-
2307
- **type **: ``string `` **possible values **: ``'workflow' `` or ``'state_machine' ``
2308
-
2309
- Defines the kind of workflow that is going to be created, which can be either
2310
- a normal workflow or a state machine. Read :doc: `this article </workflow/introduction >`
2311
- to know their differences.
2320
+ * ``from `` (**type **: ``string ``) value from the ``places ``
2321
+ multiple values are allowed, for both ``workflow `` and ``statemachine ``
2322
+ * ``to `` (**type **: ``string ``) value from the ``places ``
2323
+ multiple values are allowed only for both ``workflow ``
2312
2324
2313
2325
.. _`HTTP Host header attacks` : http://www.skeletonscribe.net/2013/05/practical-http-host-header-attacks.html
2314
2326
.. _`Security Advisory Blog post` : https://symfony.com/blog/security-releases-symfony-2-0-24-2-1-12-2-2-5-and-2-3-3-released#cve-2013-4752-request-gethost-poisoning
0 commit comments