public function ContentModerationState::label in Drupal 8
Same name and namespace in other branches
- 9 core/modules/content_moderation/src/ContentModerationState.php \Drupal\content_moderation\ContentModerationState::label()
Gets the state's label.
Return value
string The state's label.
Overrides StateInterface::label
File
- core/
modules/ content_moderation/ src/ ContentModerationState.php, line 82
Class
- ContentModerationState
- A value object representing a workflow state for content moderation.
Namespace
Drupal\content_moderationCode
public function label() {
return $this->state
->label();
}