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

public function isPublishedState() {
  return $this->published;
}
doc_Drupal
2016-10-29 09:28:39
Comments
Leave a Comment

Please login to continue.