function StateInterface::label
Same name in other branches
- 9 core/modules/workflows/src/StateInterface.php \Drupal\workflows\StateInterface::label()
- 8.9.x core/modules/workflows/src/StateInterface.php \Drupal\workflows\StateInterface::label()
- 10 core/modules/workflows/src/StateInterface.php \Drupal\workflows\StateInterface::label()
Gets the state's label.
Return value
string The state's label.
2 methods override StateInterface::label()
- ContentModerationState::label in core/
modules/ content_moderation/ src/ ContentModerationState.php - Gets the state's label.
- State::label in core/
modules/ workflows/ src/ State.php - Gets the state's label.
File
-
core/
modules/ workflows/ src/ StateInterface.php, line 33
Class
- StateInterface
- An interface for state value objects.
Namespace
Drupal\workflowsCode
public function label();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.