You are here

public function Transition::id in Drupal 8

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

Gets the transition's ID.

Return value

string The transition's ID.

Overrides TransitionInterface::id

File

core/modules/workflows/src/Transition.php, line 80

Class

Transition
A transition value object that describes the transition between states.

Namespace

Drupal\workflows

Code

public function id() {
  return $this->id;
}