You are here

public function ModerationStateInterface::isDefaultRevisionState in Workbench Moderation 8.2

Same name and namespace in other branches
  1. 8 src/ModerationStateInterface.php \Drupal\workbench_moderation\ModerationStateInterface::isDefaultRevisionState()

Determines if a revision should be made the default revision upon transition to this state.

Return value

bool TRUE if content in this state should be the default revision.

1 method overrides ModerationStateInterface::isDefaultRevisionState()
ModerationState::isDefaultRevisionState in src/Entity/ModerationState.php
Determines if a revision should be made the default revision upon transition to this state.

File

src/ModerationStateInterface.php, line 27

Class

ModerationStateInterface
Provides an interface for defining Moderation state entities.

Namespace

Drupal\workbench_moderation

Code

public function isDefaultRevisionState();