function 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();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.