function ModulesListConfirmForm::getCancelUrl

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

Overrides ConfirmFormInterface::getCancelUrl

1 call to ModulesListConfirmForm::getCancelUrl()
ModulesListConfirmForm::submitForm in core/modules/system/src/Form/ModulesListConfirmForm.php

File

core/modules/system/src/Form/ModulesListConfirmForm.php, line 89

Class

ModulesListConfirmForm
Builds a confirmation form for enabling modules with dependencies.

Namespace

Drupal\system\Form

Code

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

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