public function AutobanDeleteForm::getCancelUrl in Automatic IP ban (Autoban) 8
Gets the cancel URL.
Return value
\Drupal\Core\Url The URL to go to if the user cancels the deletion.
Overrides ConfirmFormInterface::getCancelUrl
1 call to AutobanDeleteForm::getCancelUrl()
- AutobanDeleteForm::submitForm in src/
Form/ AutobanDeleteForm.php - The submit handler for the confirm form.
File
- src/
Form/ AutobanDeleteForm.php, line 46
Class
- AutobanDeleteForm
- Class AutobanDeleteForm.
Namespace
Drupal\autoban\FormCode
public function getCancelUrl() {
return new Url('entity.autoban.list');
}