You are here

public function StateInterface::label in Drupal 10

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

Gets the state's label.

Return value

string The state's label.

File

core/modules/workflows/src/StateInterface.php, line 33

Class

StateInterface
An interface for state value objects.

Namespace

Drupal\workflows

Code

public function label();