Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit eb7a4fc

Browse filesBrowse files
Workflow configuration
1 parent 892bbda commit eb7a4fc
Copy full SHA for eb7a4fc

File tree

1 file changed

+17
-5
lines changed
Filter options

1 file changed

+17
-5
lines changed

‎reference/configuration/framework.rst

Copy file name to clipboardExpand all lines: reference/configuration/framework.rst
+17-5Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2252,13 +2252,19 @@ Name of the workflow you want to create.
22522252
audit_trail
22532253
"""""""""""
22542254

2255-
**type**: ``array``
2255+
**type**: ``bool``
2256+
2257+
Whether to enable automatically the :class:`Symfony\\Component\\Workflow\\EventListener\\AuditTrailListener`.
22562258

22572259
initial_place
22582260
"""""""""""""
22592261

22602262
**type**: ``string`` **default**: ``null``
22612263

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+
22622268
marking_store
22632269
"""""""""""""
22642270

@@ -2276,11 +2282,15 @@ places
22762282

22772283
**type**: ``array``
22782284

2285+
All available places for this workflow configuration.
2286+
22792287
supports
22802288
""""""""
22812289

22822290
**type**: ``string`` | ``array``
22832291

2292+
Object(s) that is(are) supported by this workflow configuration.
2293+
22842294
support_strategy
22852295
""""""""""""""""
22862296

@@ -2293,11 +2303,13 @@ transitions
22932303

22942304
Each marking store can define any of these options:
22952305

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>`
22982309
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``
23012313

23022314
.. _reference-workflows-type:
23032315

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.