function WorkflowTypeBase::getRequiredStates
Same name and namespace in other branches
- 9 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::getRequiredStates()
- 10 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::getRequiredStates()
- 11.x core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::getRequiredStates()
Overrides WorkflowTypeInterface::getRequiredStates
1 method overrides WorkflowTypeBase::getRequiredStates()
- TestType::getRequiredStates in core/
modules/ workflows/ tests/ modules/ workflow_type_test/ src/ Plugin/ WorkflowType/ TestType.php - Gets the required states of workflow type.
File
-
core/
modules/ workflows/ src/ Plugin/ WorkflowTypeBase.php, line 77
Class
- WorkflowTypeBase
- A base class for Workflow type plugins.
Namespace
Drupal\workflows\PluginCode
public function getRequiredStates() {
return $this->getPluginDefinition()['required_states'];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.