You are here

public function SimpleMegaMenuTypeDeleteForm::getCancelUrl in Simple Mega Menu 2.0.x

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

Overrides EntityDeleteFormTrait::getCancelUrl

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

File

src/Form/SimpleMegaMenuTypeDeleteForm.php, line 24

Class

SimpleMegaMenuTypeDeleteForm
Builds the form to delete Simple mega menu type entities.

Namespace

Drupal\simple_megamenu\Form

Code

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