public function BackupRestoreForm::getCancelUrl in Backup and Migrate 8.4
Same name and namespace in other branches
- 5.0.x src/Form/BackupRestoreForm.php \Drupal\backup_migrate\Form\BackupRestoreForm::getCancelUrl()
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 BackupRestoreForm::getCancelUrl()
- BackupRestoreForm::submitForm in src/
Form/ BackupRestoreForm.php - Form submission handler.
File
- src/
Form/ BackupRestoreForm.php, line 48
Class
Namespace
Drupal\backup_migrate\FormCode
public function getCancelUrl() {
return $this->destination
->toUrl('backups');
}