You are here

public function ElevateZoomPlusDeleteForm::getCancelUrl in ElevateZoom Plus 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

modules/ui/src/Form/ElevateZoomPlusDeleteForm.php, line 30

Class

ElevateZoomPlusDeleteForm
Builds the form to delete a ElevateZoomPlus optionset.

Namespace

Drupal\elevatezoomplus_ui\Form

Code

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