function WorkflowTypeInterface::deleteTransition
Same name in other branches
- 9 core/modules/workflows/src/WorkflowTypeInterface.php \Drupal\workflows\WorkflowTypeInterface::deleteTransition()
- 10 core/modules/workflows/src/WorkflowTypeInterface.php \Drupal\workflows\WorkflowTypeInterface::deleteTransition()
- 11.x core/modules/workflows/src/WorkflowTypeInterface.php \Drupal\workflows\WorkflowTypeInterface::deleteTransition()
Deletes a transition.
Parameters
string $transition_id: The transition ID.
Return value
$this
Throws
\InvalidArgumentException Thrown if the transition does not exist.
1 method overrides WorkflowTypeInterface::deleteTransition()
- WorkflowTypeBase::deleteTransition in core/
modules/ workflows/ src/ Plugin/ WorkflowTypeBase.php - Deletes a transition.
File
-
core/
modules/ workflows/ src/ WorkflowTypeInterface.php, line 350
Class
- WorkflowTypeInterface
- An interface for Workflow type plugins.
Namespace
Drupal\workflowsCode
public function deleteTransition($transition_id);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.