public function ContentModerationState::isPublishedState in Drupal 10
Same name and namespace in other branches
- 8 core/modules/content_moderation/src/ContentModerationState.php \Drupal\content_moderation\ContentModerationState::isPublishedState()
- 9 core/modules/content_moderation/src/ContentModerationState.php \Drupal\content_moderation\ContentModerationState::isPublishedState()
Determines if entities should be published if in this state.
Return value
bool
File
- core/
modules/ content_moderation/ src/ ContentModerationState.php, line 59
Class
- ContentModerationState
- A value object representing a workflow state for content moderation.
Namespace
Drupal\content_moderationCode
public function isPublishedState() {
return $this->published;
}