You are here

public function State::label in Drupal 9

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

Gets the state's label.

Return value

string The state's label.

Overrides StateInterface::label

File

core/modules/workflows/src/State.php, line 67

Class

State
A value object representing a workflow state.

Namespace

Drupal\workflows

Code

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