function ConfigSingleImportForm::getCancelUrl

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

Overrides ConfirmFormInterface::getCancelUrl

File

core/modules/config/src/Form/ConfigSingleImportForm.php, line 214

Class

ConfigSingleImportForm
Provides a form for importing a single configuration file.

Namespace

Drupal\config\Form

Code

public function getCancelUrl() {
    return new Url('config.import_single');
}

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