public function WorkflowTypeBase::hasTransition in Drupal 10
Same name and namespace in other branches
- 8 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::hasTransition()
- 9 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::hasTransition()
File
- core/
modules/ workflows/ src/ Plugin/ WorkflowTypeBase.php, line 329
Class
- WorkflowTypeBase
- A base class for Workflow type plugins.
Namespace
Drupal\workflows\PluginCode
public function hasTransition($transition_id) {
return isset($this->configuration['transitions'][$transition_id]);
}