You are here

public function TransitionInterface::label in Drupal 10

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

Gets the transition's label.

Return value

string The transition's label.

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();