function TransitionInterface::label

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

Gets the transition's label.

Return value

string The transition's label.

1 method overrides TransitionInterface::label()
Transition::label in core/modules/workflows/src/Transition.php

File

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

Class

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

Namespace

Drupal\workflows

Code

public function label();

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