public function ConfirmationForm::getCancelUrl in Auto Purge Users 8
Same name and namespace in other branches
- 8.3 src/Form/ConfirmationForm.php \Drupal\purge_users\Form\ConfirmationForm::getCancelUrl()
- 8.2 src/Form/ConfirmationForm.php \Drupal\purge_users\Form\ConfirmationForm::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/ ConfirmationForm.php, line 34
Class
- ConfirmationForm
- Class ConfirmationForm.
Namespace
Drupal\purge_users\FormCode
public function getCancelUrl() {
return new Url('purge_users.settings');
}