You are here

public function WorkflowConfigTransition::getFromState in Workflow 8

Return value

WorkflowState

Overrides WorkflowConfigTransitionInterface::getFromState

File

src/Entity/WorkflowConfigTransition.php, line 195

Class

WorkflowConfigTransition
Workflow configuration entity to persistently store configuration.

Namespace

Drupal\workflow\Entity

Code

public function getFromState() {
  return WorkflowState::load($this->from_sid);
}