function 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\workflowsCode
public function getInitialState();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.