public function State::label in Drupal 8
Same name and namespace in other branches
- 9 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\workflowsCode
public function label() {
return $this->label;
}