You are here

public function ModerationStateInterface::isDefaultRevisionState in Workbench Moderation 8

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

Check if revision should be default.

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
Check if revision should be default.

File

src/ModerationStateInterface.php, line 29

Class

ModerationStateInterface
Provides an interface for defining Moderation state entities.

Namespace

Drupal\workbench_moderation

Code

public function isDefaultRevisionState();