You are here

public function CityListDeleteForm::getCancelUrl in Country, State and City Fields 8

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

Overrides ConfirmFormInterface::getCancelUrl

File

src/Form/CityListDeleteForm.php, line 28

Class

CityListDeleteForm
Provides a form for deleting a citylist entity.

Namespace

Drupal\country_state_city\Form

Code

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