function ContentModerationState::id
Gets the state's ID.
Return value
string The state's ID.
Overrides StateInterface::id
File
- 
              core/modules/ content_moderation/ src/ ContentModerationState.php, line 75 
Class
- ContentModerationState
- A value object representing a workflow state for content moderation.
Namespace
Drupal\content_moderationCode
public function id() {
  return $this->state
    ->id();
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
