function WorkflowTypeBase::hasTransitionFromStateToState
Same name in other branches
- 9 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::hasTransitionFromStateToState()
- 10 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::hasTransitionFromStateToState()
- 11.x core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::hasTransitionFromStateToState()
Overrides WorkflowTypeInterface::hasTransitionFromStateToState
1 call to WorkflowTypeBase::hasTransitionFromStateToState()
- WorkflowTypeBase::setTransitionFromStates in core/
modules/ workflows/ src/ Plugin/ WorkflowTypeBase.php - Sets a transition's from states.
File
-
core/
modules/ workflows/ src/ Plugin/ WorkflowTypeBase.php, line 357
Class
- WorkflowTypeBase
- A base class for Workflow type plugins.
Namespace
Drupal\workflows\PluginCode
public function hasTransitionFromStateToState($from_state_id, $to_state_id) {
return $this->getTransitionIdFromStateToState($from_state_id, $to_state_id) !== NULL;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.