public function StyleswitcherStyleDeleteForm::getCancelUrl in Style Switcher 8.2
Same name and namespace in other branches
- 3.0.x src/Form/StyleswitcherStyleDeleteForm.php \Drupal\styleswitcher\Form\StyleswitcherStyleDeleteForm::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
- src/
Form/ StyleswitcherStyleDeleteForm.php, line 38
Class
- StyleswitcherStyleDeleteForm
- Provides a form to delete a single style.
Namespace
Drupal\styleswitcher\FormCode
public function getCancelUrl() {
return Url::fromRoute('styleswitcher.admin');
}