function State::label

Same name and namespace in other branches
  1. 9 core/modules/workflows/src/State.php \Drupal\workflows\State::label()
  2. 10 core/modules/workflows/src/State.php \Drupal\workflows\State::label()
  3. 11.x core/modules/workflows/src/State.php \Drupal\workflows\State::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;
}

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