function WorkflowTypeBase::workflowStateHasData
Same name in other branches
- 9 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::workflowStateHasData()
- 8.9.x core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::workflowStateHasData()
- 11.x core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::workflowStateHasData()
Overrides WorkflowTypeInterface::workflowStateHasData
1 method overrides WorkflowTypeBase::workflowStateHasData()
- ContentModeration::workflowStateHasData in core/
modules/ content_moderation/ src/ Plugin/ WorkflowType/ ContentModeration.php - Determines if the workflow state has data associated with it.
File
-
core/
modules/ workflows/ src/ Plugin/ WorkflowTypeBase.php, line 56
Class
- WorkflowTypeBase
- A base class for Workflow type plugins.
Namespace
Drupal\workflows\PluginCode
public function workflowStateHasData(WorkflowInterface $workflow, StateInterface $state) {
return FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.