You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: workflow.rst
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -160,6 +160,10 @@ follows:
160
160
If you are creating your first workflows, consider using the ``workflow:dump``
161
161
command to :doc:`debug the workflow contents </workflow/dumping-workflows>`.
162
162
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
+
163
167
The configured property will be used via its implemented getter/setter methods by the marking store::
0 commit comments