You are here

public function ConfigEntityRevisionsModerationInterface::getInitialState in Config Entity Revisions 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/WorkflowType/ConfigEntityRevisionsModerationInterface.php \Drupal\config_entity_revisions\Plugin\WorkflowType\ConfigEntityRevisionsModerationInterface::getInitialState()
  2. 1.x src/Plugin/WorkflowType/ConfigEntityRevisionsModerationInterface.php \Drupal\config_entity_revisions\Plugin\WorkflowType\ConfigEntityRevisionsModerationInterface::getInitialState()

Parameters

\Drupal\Core\Entity\ContentEntityInterface $entity: Content Moderation uses this parameter to determine the initial state based on publishing status.

Overrides WorkflowTypeInterface::getInitialState

File

src/Plugin/WorkflowType/ConfigEntityRevisionsModerationInterface.php, line 76

Class

ConfigEntityRevisionsModerationInterface
Interface for ContentModeration WorkflowType plugin.

Namespace

Drupal\config_entity_revisions\Plugin\WorkflowType

Code

public function getInitialState(ContentEntityInterface $entity = NULL);