public function YamlFormSubmissionsPurgeForm::getCancelUrl in YAML Form 8
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/ YamlFormSubmissionsPurgeForm.php, line 37
Class
- YamlFormSubmissionsPurgeForm
- Form for form submission purge form.
Namespace
Drupal\yamlform\FormCode
public function getCancelUrl() {
return new Url('entity.yamlform_submission.collection');
}