You are here

public function WorkflowConfigTransition::getToState in Workflow 8

Return value

WorkflowState

Overrides WorkflowConfigTransitionInterface::getToState

File

src/Entity/WorkflowConfigTransition.php, line 202

Class

WorkflowConfigTransition
Workflow configuration entity to persistently store configuration.

Namespace

Drupal\workflow\Entity

Code

public function getToState() {
  return WorkflowState::load($this->to_sid);
}