You are here

public function ConfigDeleteForm::getCancelUrl in Devel 4.x

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 83

Class

ConfigDeleteForm
Edit config variable form.

Namespace

Drupal\devel\Form

Code

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