public function WorkflowTypeBase::hasTransitionFromStateToState in Drupal 10
Same name and namespace in other branches
- 8 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::hasTransitionFromStateToState()
- 9 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::hasTransitionFromStateToState()
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;
}