ContentModerationState::$state

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

The vanilla state object from the Workflow module.

Type: \Drupal\workflows\StateInterface

File

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

Class

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

Namespace

Drupal\content_moderation

Code

protected $state;

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