function 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();
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
