You are here

public function UCWishlistAdminDeleteForm::getCancelUrl in UC Wish List 8

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/UCWishlistAdminDeleteForm.php, line 71

Class

UCWishlistAdminDeleteForm

Namespace

Drupal\uc_wishlist\Form

Code

public function getCancelUrl() {
  return Url::fromRoute('uc_wishlist.wishlist');
}