public function ContentModerationInterface::getInitialState in Drupal 9
Same name and namespace in other branches
- 8 core/modules/content_moderation/src/Plugin/WorkflowType/ContentModerationInterface.php \Drupal\content_moderation\Plugin\WorkflowType\ContentModerationInterface::getInitialState()
Parameters
$entity: Content Moderation uses this parameter to determine the initial state based on publishing status.
Overrides WorkflowTypeInterface::getInitialState
File
- core/
modules/ content_moderation/ src/ Plugin/ WorkflowType/ ContentModerationInterface.php, line 75
Class
- ContentModerationInterface
- Interface for ContentModeration WorkflowType plugin.
Namespace
Drupal\content_moderation\Plugin\WorkflowTypeCode
public function getInitialState($entity = NULL);