public function WebformSubmissionsPurgeForm::getCancelUrl in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Form/WebformSubmissionsPurgeForm.php \Drupal\webform\Form\WebformSubmissionsPurgeForm::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
- src/
Form/ WebformSubmissionsPurgeForm.php, line 111
Class
- WebformSubmissionsPurgeForm
- Webform for webform submission purge webform.
Namespace
Drupal\webform\FormCode
public function getCancelUrl() {
return new Url('entity.webform_submission.collection');
}