public function CustomServicesDeleteForm::getCancelUrl in Shorten URLs 8
Same name and namespace in other branches
- 8.2 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 39
Class
- CustomServicesDeleteForm
- Settings form.
Namespace
Drupal\shorten_cs\FormCode
public function getCancelUrl() {
return new Url('shorten_cs.theme_shorten_cs_admin');
}