We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a589ee5 commit 67ae1aeCopy full SHA for 67ae1ae
workflow/usage.rst
@@ -501,11 +501,12 @@ transition was blocked::
501
public static function getSubscribedEvents()
502
{
503
return [
504
- 'workflow.blogpost.guard.publish' => ['guardPublish'],
+ 'workflow.blog_publishing.guard.publish' => ['guardPublish'],
505
];
506
}
507
508
509
-Don't need a human-readable message? You can still use::
+Don't need a human-readable message? You can also block a transition via a guard
510
+event using::
511
512
$event->setBlocked('true');
0 commit comments