Skip to content

Commit 99e02d3

Browse files
[Workflow] Attach workflow configuration to tags
1 parent 02a2e4d commit 99e02d3

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-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: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,15 @@ name.
366366
* ``workflow.workflow``: all workflows;
367367
* ``workflow.state_machine``: all state machines.
368368

369+
Note that workflow configurations 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 tags attribute
372+
:ref:`in the dedicated section <tags_additional-attributes>`.
373+
374+
.. versionadded:: 7.1
375+
376+
The attached configuration to the tag was introduced in Symfony 7.1.
377+
369378
.. tip::
370379

371380
You can find the list of available workflow services with the

0 commit comments

Comments
 (0)