You are here

public function PresentationDeleteForm::getCancelUrl in Isotope (with Masonry and Packery) 8

Gets the cancel URL.

Provides the URL to go to if the user cancels the action.

Return value

\Drupal\Core\Url The URL to go to if the user cancels the deletion.

Overrides ConfirmFormInterface::getCancelUrl

1 call to PresentationDeleteForm::getCancelUrl()
PresentationDeleteForm::submitForm in src/Form/PresentationDeleteForm.php
The submit handler for the confirm form.

File

src/Form/PresentationDeleteForm.php, line 62
Contains Drupal\isotope\Form\PresentationDeleteForm.

Class

PresentationDeleteForm
Class PresentationDeleteForm.

Namespace

Drupal\isotope\Form

Code

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