You are here

public function WorkflowTypeInterface::getInitialState in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/workflows/src/WorkflowTypeInterface.php \Drupal\workflows\WorkflowTypeInterface::getInitialState()

Gets the initial state for the workflow.

Return value

\Drupal\workflows\StateInterface The initial state.

2 methods override WorkflowTypeInterface::getInitialState()
ContentModerationInterface::getInitialState in core/modules/content_moderation/src/Plugin/WorkflowType/ContentModerationInterface.php
WorkflowTypeBase::getInitialState in core/modules/workflows/src/Plugin/WorkflowTypeBase.php
Gets the initial state for the workflow.

File

core/modules/workflows/src/WorkflowTypeInterface.php, line 67

Class

WorkflowTypeInterface
An interface for Workflow type plugins.

Namespace

Drupal\workflows

Code

public function getInitialState();