You are here

public function ConfigImportConfirmForm::getCancelUrl in Configuration Update Manager 8

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 ConfigImportConfirmForm::getCancelUrl()
ConfigImportConfirmForm::submitForm in config_update_ui/src/Form/ConfigImportConfirmForm.php
Form submission handler.

File

config_update_ui/src/Form/ConfigImportConfirmForm.php, line 107

Class

ConfigImportConfirmForm
Defines a confirmation form for importing configuration.

Namespace

Drupal\config_update_ui\Form

Code

public function getCancelUrl() {
  return new Url('config_update_ui.report');
}