public function ContentModerationState::id in Drupal 9
Same name and namespace in other branches
- 8 core/modules/content_moderation/src/ContentModerationState.php \Drupal\content_moderation\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();
}