function ConfigDeleteForm::getCancelUrl

Same name and namespace in other branches
  1. 4.x src/Form/ConfigDeleteForm.php \Drupal\devel\Form\ConfigDeleteForm::getCancelUrl()

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

File

src/Form/ConfigDeleteForm.php, line 108

Class

ConfigDeleteForm
Edit config variable form.

Namespace

Drupal\devel\Form

Code

public function getCancelUrl() {
    return Url::fromRoute('devel.configs_list');
}