public function Transition::label in Drupal 8
Same name and namespace in other branches
- 9 core/modules/workflows/src/Transition.php \Drupal\workflows\Transition::label()
- 10 core/modules/workflows/src/Transition.php \Drupal\workflows\Transition::label()
Gets the transition's label.
Return value
string The transition's 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\workflowsCode
public function label() {
return $this->label;
}