public function ModulesUninstallConfirmForm::getCancelUrl in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/src/Form/ModulesUninstallConfirmForm.php \Drupal\system\Form\ModulesUninstallConfirmForm::getCancelUrl()
- 9 core/modules/system/src/Form/ModulesUninstallConfirmForm.php \Drupal\system\Form\ModulesUninstallConfirmForm::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 ModulesUninstallConfirmForm::getCancelUrl()
- ModulesUninstallConfirmForm::submitForm in core/
modules/ system/ src/ Form/ ModulesUninstallConfirmForm.php - Form submission handler.
File
- core/
modules/ system/ src/ Form/ ModulesUninstallConfirmForm.php, line 118
Class
- ModulesUninstallConfirmForm
- Builds a confirmation form to uninstall selected modules.
Namespace
Drupal\system\FormCode
public function getCancelUrl() {
return new Url('system.modules_uninstall');
}