public function ScannerConfirmUndoForm::getCancelUrl in Search and Replace Scanner 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/ ScannerConfirmUndoForm.php, line 128
Class
- ScannerConfirmUndoForm
- Displayed to confirm that the user want to undo the replace operation.
Namespace
Drupal\scanner\FormCode
public function getCancelUrl() {
return new Url('scanner.undo');
}