You are here

public function WorkflowTransitionEvent::getTransition in State Machine 8

Gets the transition.

Return value

\Drupal\state_machine\Plugin\Workflow\WorkflowTransition The transition.

File

src/Event/WorkflowTransitionEvent.php, line 68

Class

WorkflowTransitionEvent
Defines the workflow transition event.

Namespace

Drupal\state_machine\Event

Code

public function getTransition() {
  return $this->transition;
}