public function WorkflowTransitionEventSubscriber::onGroupPostTransition in State Machine 8
Reacts to the 'entity_test_with_bundle.post_transition' event.
Parameters
\Drupal\state_machine\Event\WorkflowTransitionEvent $event: The transition event.
File
- tests/
modules/ state_machine_test/ src/ EventSubscriber/ WorkflowTransitionEventSubscriber.php, line 80
Class
Namespace
Drupal\state_machine_test\EventSubscriberCode
public function onGroupPostTransition(WorkflowTransitionEvent $event) {
$this
->setMessage($event, 'group post-transition');
}