public function WorkflowTransitionDeleteForm::getCancelUrl in Drupal 9
Same name and namespace in other branches
- 8 core/modules/workflows/src/Form/WorkflowTransitionDeleteForm.php \Drupal\workflows\Form\WorkflowTransitionDeleteForm::getCancelUrl()
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
1 call to WorkflowTransitionDeleteForm::getCancelUrl()
- WorkflowTransitionDeleteForm::submitForm in core/
modules/ workflows/ src/ Form/ WorkflowTransitionDeleteForm.php - Form submission handler.
File
- core/
modules/ workflows/ src/ Form/ WorkflowTransitionDeleteForm.php, line 55
Class
- WorkflowTransitionDeleteForm
- Builds the form to delete transitions from Workflow entities.
Namespace
Drupal\workflows\FormCode
public function getCancelUrl() {
return $this->workflow
->toUrl();
}