You are here

public function WorkflowTransition::getFromStates in State Machine 8

Gets the "from" states.

Return value

\Drupal\state_machine\Plugin\Workflow\WorkflowState[] The "from" states.

File

src/Plugin/Workflow/WorkflowTransition.php, line 83

Class

WorkflowTransition
Defines the class for workflow transitions.

Namespace

Drupal\state_machine\Plugin\Workflow

Code

public function getFromStates() {
  return $this->fromStates;
}