function Transition::from
Gets the transition's from states.
Return value
\Drupal\workflows\StateInterface[] The transition's from states.
Overrides TransitionInterface::from
File
- 
              core/modules/ workflows/ src/ Transition.php, line 94 
Class
- Transition
- A transition value object that describes the transition between states.
Namespace
Drupal\workflowsCode
public function from() {
  return $this->workflow
    ->getStates($this->fromStateIds);
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
