public function WebformUiElementDeleteForm::getCancelUrl in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_ui/src/Form/WebformUiElementDeleteForm.php \Drupal\webform_ui\Form\WebformUiElementDeleteForm::getCancelUrl()
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
File
- modules/
webform_ui/ src/ Form/ WebformUiElementDeleteForm.php, line 184
Class
- WebformUiElementDeleteForm
- Webform for deleting a webform element.
Namespace
Drupal\webform_ui\FormCode
public function getCancelUrl() {
return $this->webform
->toUrl('edit-form');
}