You are here

public function CustomServicesDeleteForm::getCancelUrl in Shorten URLs 8.2

Same name and namespace in other branches
  1. 8 modules/shorten_cs/src/Form/CustomServicesDeleteForm.php \Drupal\shorten_cs\Form\CustomServicesDeleteForm::getCancelUrl()

Returns the route to go to if the user cancels the action.

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

File

modules/shorten_cs/src/Form/CustomServicesDeleteForm.php, line 71

Class

CustomServicesDeleteForm
Settings form.

Namespace

Drupal\shorten_cs\Form

Code

public function getCancelUrl() {
  return new Url('shorten_cs.theme_shorten_cs_admin');
}