You are here

public function SliderDeleteForm::getCancelUrl in Image sliders 8

If the delete command is canceled, return to the slider list.

Overrides ConfirmFormInterface::getCancelUrl

File

src/Form/SliderDeleteForm.php, line 28

Class

SliderDeleteForm
Provides a form for deleting a image_slider entity.

Namespace

Drupal\image_slider\Form

Code

public function getCancelUrl() {
  return new Url('entity.image_slider.collection');
}