public function WorkflowTransitionEventSubscriber::__construct in State Machine 8
Constructs a new WorkflowTransitionEventSubscriber object.
Parameters
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.
File
- tests/
modules/ state_machine_test/ src/ EventSubscriber/ WorkflowTransitionEventSubscriber.php, line 25
Class
Namespace
Drupal\state_machine_test\EventSubscriberCode
public function __construct(MessengerInterface $messenger) {
$this->messenger = $messenger;
}