Skip to content

Commit 4b1c9cb

Browse files
Mick3DIYjaviereguiluz
authored andcommitted
[Workflow] Update workflow.rst
1 parent a39282b commit 4b1c9cb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

workflow.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ follows:
160160
If you are creating your first workflows, consider using the ``workflow:dump``
161161
command to :doc:`debug the workflow contents </workflow/dumping-workflows>`.
162162

163+
.. tip::
164+
165+
You can use constants in YAML files and add some in the BlogPost entity for places ``draft`` by ``!php/const App\Entity\BlogPost::STATE_DRAFT`` or for transitions ``to_review`` by ``!php/const App\Entity\BlogPost::TRANSITION_TO_REVIEW``.
166+
163167
The configured property will be used via its implemented getter/setter methods by the marking store::
164168

165169
// src/Entity/BlogPost.php

0 commit comments

Comments
 (0)