function ModulesUninstallConfirmForm::getCancelUrl

Same name in other branches
  1. 9 core/modules/system/src/Form/ModulesUninstallConfirmForm.php \Drupal\system\Form\ModulesUninstallConfirmForm::getCancelUrl()
  2. 8.9.x core/modules/system/src/Form/ModulesUninstallConfirmForm.php \Drupal\system\Form\ModulesUninstallConfirmForm::getCancelUrl()
  3. 10 core/modules/system/src/Form/ModulesUninstallConfirmForm.php \Drupal\system\Form\ModulesUninstallConfirmForm::getCancelUrl()

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 122

Class

ModulesUninstallConfirmForm
Builds a confirmation form to uninstall selected modules.

Namespace

Drupal\system\Form

Code

public function getCancelUrl() {
    return new Url('system.modules_uninstall');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.