public function FileUploadForm::getCancelUrl in Ubercart 8.4
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
1 call to FileUploadForm::getCancelUrl()
- FileUploadForm::submitForm in uc_file/
src/ Form/ FileUploadForm.php - Form submission handler.
File
- uc_file/
src/ Form/ FileUploadForm.php, line 80
Class
- FileUploadForm
- Performs a file upload action.
Namespace
Drupal\uc_file\FormCode
public function getCancelUrl() {
return Url::fromRoute('uc_file.downloads');
}