function Transition::label

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

Overrides TransitionInterface::label

File

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

Class

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

Namespace

Drupal\workflows

Code

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

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