public function WebformSubmissionsPurgeForm::getCancelUrl in Webform 8.5
Same name and namespace in other branches
- 6.x 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');
}