function TransitionInterface::from

Same name in other branches
  1. 8.9.x core/modules/workflows/src/TransitionInterface.php \Drupal\workflows\TransitionInterface::from()
  2. 10 core/modules/workflows/src/TransitionInterface.php \Drupal\workflows\TransitionInterface::from()
  3. 11.x 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.

1 method overrides TransitionInterface::from()
Transition::from in core/modules/workflows/src/Transition.php
Gets 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\workflows

Code

public function from();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.