ContentModerationState::$defaultRevision

Same name in other branches
  1. 9 core/modules/content_moderation/src/ContentModerationState.php \Drupal\content_moderation\ContentModerationState::defaultRevision
  2. 10 core/modules/content_moderation/src/ContentModerationState.php \Drupal\content_moderation\ContentModerationState::defaultRevision
  3. 11.x core/modules/content_moderation/src/ContentModerationState.php \Drupal\content_moderation\ContentModerationState::defaultRevision

If entities should be the default revision if in this state.

Type: bool

File

core/modules/content_moderation/src/ContentModerationState.php, line 31

Class

ContentModerationState
A value object representing a workflow state for content moderation.

Namespace

Drupal\content_moderation

Code

protected $defaultRevision;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.