diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index de74aedfc8c..96e7d5c107a 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -2252,13 +2252,19 @@ Name of the workflow you want to create. audit_trail """"""""""" -**type**: ``array`` +**type**: ``bool`` + +Whether to enable automatically the :class:`Symfony\\Component\\Workflow\\EventListener\\AuditTrailListener`. initial_place """"""""""""" **type**: ``string`` **default**: ``null`` +One of the ``places`` or ``null``. +If not null and the supported object is not already initialized via the workflow, +this place will be set. + marking_store """"""""""""" @@ -2276,11 +2282,15 @@ places **type**: ``array`` +All available places (**type**: ``string``) for this workflow configuration. + supports """""""" **type**: ``string`` | ``array`` +Object(s) that is(are) supported by this workflow configuration. + support_strategy """""""""""""""" @@ -2293,11 +2303,13 @@ transitions Each marking store can define any of these options: -* ``from`` (**type**: ``string``) -* ``guard`` (**type**: ``string``) a :doc:`ExpressionLanguage ` +* ``from`` (**type**: ``string`` or ``array``) value from the ``places``, + multiple values are allowed for both ``workflow`` and ``state_machine`` +* ``guard`` (**type**: ``string``) an :doc:`ExpressionLanguage ` compatible expression to block the transition -* ``name`` (**type**: ``string``) -* ``to`` (**type**: ``string``) +* ``name`` (**type**: ``string``) the name of the transition +* ``to`` (**type**: ``string`` or ``array``) value from the ``places``, + multiple values are allowed only for ``workflow`` .. _reference-workflows-type: