public function ClearConfirmForm::getCancelUrl in MongoDB 8.2
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 ClearConfirmForm::getCancelUrl()
- ClearConfirmForm::submitForm in modules/
mongodb_watchdog/ src/ Form/ ClearConfirmForm.php - Form submission handler.
File
- modules/
mongodb_watchdog/ src/ Form/ ClearConfirmForm.php, line 78
Class
- ClearConfirmForm
- Provides a confirmation form before clearing out the logs.
Namespace
Drupal\mongodb_watchdog\FormCode
public function getCancelUrl() : Url {
return new Url('mongodb_watchdog.reports.overview');
}