Skip to content

Commit 8f1cae7

Browse files
committed
minor #7315 [Workflow] Add tip for workflow configuration default values (dominikhajduk)
This PR was squashed before being merged into the 3.2 branch (closes #7315). Discussion ---------- [Workflow] Add tip for workflow configuration default values Added tip for http://symfony.com/doc/current/workflow/usage.html configuration. Tested and based on great examples provided by @lyrixx in: https://github.com/lyrixx/SFLive-Paris2016-Workflow/blob/master/app/config/workflow.yml#L3 and https://github.com/lyrixx/SFLive-Paris2016-Workflow/blob/master/src/AppBundle/Entity/Article.php#L24 Commits ------- 6262d24 [Workflow] Add tip for workflow configuration default values
2 parents b08bbd0 + 6262d24 commit 8f1cae7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

workflow/usage.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,12 @@ like this:
148148
The marking store type could be "multiple_state" or "single_state".
149149
A single state marking store does not support a model being on multiple places
150150
at the same time.
151+
152+
.. tip::
153+
154+
The ``type`` (default value ``single_state``) and ``arguments`` (default value ``marking``)
155+
attributes of the ``marking_store`` option are optional. If omitted, their default values
156+
will be used.
151157

152158
With this workflow named ``blog_publishing``, you can get help to decide
153159
what actions that are allowed on a blog post. ::

0 commit comments

Comments
 (0)