You are here

public function SlideDeleteForm::getCancelUrl in Drupal Slider 8.2

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

Function getCancelUrl.

Overrides ConfirmFormInterface::getCancelUrl

1 call to SlideDeleteForm::getCancelUrl()
SlideDeleteForm::submitForm in src/Form/SlideDeleteForm.php
Function submitForm.

File

src/Form/SlideDeleteForm.php, line 35

Class

SlideDeleteForm
Class SlideDeleteForm.

Namespace

Drupal\drupal_slider\Form

Code

public function getCancelUrl() {
  return new Url('entity.drupal_slider_slide.list');
}