public function WorkflowTransition::getToState in Workflow 8
Return value
Overrides WorkflowConfigTransitionInterface::getToState
2 calls to WorkflowTransition::getToState()
- WorkflowScheduledTransition::save in src/
Entity/ WorkflowScheduledTransition.php - Saves a scheduled transition. If the transition is executed, save in history.
- WorkflowTransition::logError in src/
Entity/ WorkflowTransition.php - Generate a Watchdog error.
File
- src/
Entity/ WorkflowTransition.php, line 739
Class
- WorkflowTransition
- Implements an actual, executed, Transition.
Namespace
Drupal\workflow\EntityCode
public function getToState() {
$sid = $this
->getToSid();
return $sid ? WorkflowState::load($sid) : NULL;
}