Skip to content

Commit 67ae1ae

Browse files
committed
Minor tweaks
1 parent a589ee5 commit 67ae1ae

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

workflow/usage.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,11 +501,12 @@ transition was blocked::
501501
public static function getSubscribedEvents()
502502
{
503503
return [
504-
'workflow.blogpost.guard.publish' => ['guardPublish'],
504+
'workflow.blog_publishing.guard.publish' => ['guardPublish'],
505505
];
506506
}
507507
}
508508

509-
Don't need a human-readable message? You can still use::
509+
Don't need a human-readable message? You can also block a transition via a guard
510+
event using::
510511

511512
$event->setBlocked('true');

0 commit comments

Comments
 (0)