We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent40fbaf3 commit94d17deCopy full SHA for 94d17de
workflow/usage.rst
@@ -694,8 +694,12 @@ Metadata can also be accessed in a Listener, from the Event object.
694
Using transition blockers you can
695
return a user-friendly error message when you stop a transition from happening. In the example we
696
get this message from the:class:`Symfony\\Component\\Workflow\\Event\\Event`'s metadata, giving
697
-you an easy place to manage the text. This is a contrived example; in production code you may
698
-prefer to use the:doc:`Translation</components/translation>` component to manage messages::
+you an easy place to manage the text.
+
699
+..tip::
700
701
+This is a simple example; in production you may prefer to use the:doc:`Translation</components/translation>`
702
+component to manage messages in one place::
703
704
namespace App\Listener\Workflow\Task;
705