public function TransitionInterface::from in Drupal 10
Same name and namespace in other branches
- 8 core/modules/workflows/src/TransitionInterface.php \Drupal\workflows\TransitionInterface::from()
- 9 core/modules/workflows/src/TransitionInterface.php \Drupal\workflows\TransitionInterface::from()
Gets the transition's from states.
Return value
\Drupal\workflows\StateInterface[] The transition's from states.
File
- core/
modules/ workflows/ src/ TransitionInterface.php, line 53
Class
- TransitionInterface
- A transition value object that describes the transition between two states.
Namespace
Drupal\workflowsCode
public function from();