You are here

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

File

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

Class

ConfigRevertConfirmForm
Defines a confirmation form for reverting configuration.

Namespace

Drupal\config_update_ui\Form

Code

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