public function Transition::from in Drupal 10
Same name and namespace in other branches
- 8 core/modules/workflows/src/Transition.php \Drupal\workflows\Transition::from()
- 9 core/modules/workflows/src/Transition.php \Drupal\workflows\Transition::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);
}