Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit27a8827

Browse files
[Workflow] Attach workflow configuration to tags
1 parent02a2e4d commit27a8827

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

‎service_container/tags.rst‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,8 @@ or from your kernel::
458458
:ref:`components documentation<components-di-compiler-pass>` for more
459459
information.
460460

461+
.. _tags_additional-attributes:
462+
461463
Adding Additional Attributes on Tags
462464
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
463465

‎workflow.rst‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,17 @@ name.
366366
* ``workflow.workflow``: all workflows;
367367
* ``workflow.state_machine``: all state machines.
368368

369+
Note that workflow metadata are attached to tags under the
370+
``metatdata`` key, giving you more context and information about the workflow
371+
at disposal. You can learn more about
372+
:ref:`tags attribute<tags_additional-attributes>` and
373+
:ref:`storing workflow metadata<workflow_storing-metadata>`
374+
in their dedicated sections.
375+
376+
..versionadded::7.1
377+
378+
The attached configuration to the tag was introduced in Symfony 7.1.
379+
369380
..tip::
370381

371382
You can find the list of available workflow services with the
@@ -1032,6 +1043,8 @@ The following example shows these functions in action:
10321043
<span class="error">{{ blocker.message }}</span>
10331044
{% endfor %}
10341045

1046+
.. _workflow_storing-metadata:
1047+
10351048
Storing Metadata
10361049
----------------
10371050

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp