ModerationState::isPublishedState

public ModerationState::isPublishedState()

Determines if content updated to this state should be published.

Return value

bool TRUE if content updated to this state should be published.

Overrides ModerationStateInterface::isPublishedState

File

core/modules/content_moderation/src/Entity/ModerationState.php, line 91

Class

ModerationState
Defines the Moderation state entity.

Namespace

Drupal\content_moderation\Entity

Code

1
2
3
public function isPublishedState() {
  return $this->published;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.