function WorkflowStateDeleteForm::getCancelUrl
Same name in other branches
- 8.9.x core/modules/workflows/src/Form/WorkflowStateDeleteForm.php \Drupal\workflows\Form\WorkflowStateDeleteForm::getCancelUrl()
- 10 core/modules/workflows/src/Form/WorkflowStateDeleteForm.php \Drupal\workflows\Form\WorkflowStateDeleteForm::getCancelUrl()
- 11.x core/modules/workflows/src/Form/WorkflowStateDeleteForm.php \Drupal\workflows\Form\WorkflowStateDeleteForm::getCancelUrl()
Overrides ConfirmFormInterface::getCancelUrl
1 call to WorkflowStateDeleteForm::getCancelUrl()
- WorkflowStateDeleteForm::submitForm in core/
modules/ workflows/ src/ Form/ WorkflowStateDeleteForm.php - Form submission handler.
File
-
core/
modules/ workflows/ src/ Form/ WorkflowStateDeleteForm.php, line 48
Class
- WorkflowStateDeleteForm
- Builds the form to delete states 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.