You are here

public function TransitionInterface::to in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/workflows/src/TransitionInterface.php \Drupal\workflows\TransitionInterface::to()
  2. 10 core/modules/workflows/src/TransitionInterface.php \Drupal\workflows\TransitionInterface::to()

Gets the transition's to state.

Return value

\Drupal\workflows\StateInterface The transition's to state.

1 method overrides TransitionInterface::to()
Transition::to in core/modules/workflows/src/Transition.php
Gets the transition's to state.

File

core/modules/workflows/src/TransitionInterface.php, line 61

Class

TransitionInterface
A transition value object that describes the transition between two states.

Namespace

Drupal\workflows

Code

public function to();