public function WorkflowTransition::getToState in State Machine 8
Gets the "to" state.
Return value
\Drupal\state_machine\Plugin\Workflow\WorkflowState The "to" state.
File
- src/
Plugin/ Workflow/ WorkflowTransition.php, line 93
Class
- WorkflowTransition
- Defines the class for workflow transitions.
Namespace
Drupal\state_machine\Plugin\WorkflowCode
public function getToState() {
return $this->toState;
}