You are here

public function CountryListDeleteForm::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/CountryListDeleteForm.php, line 28

Class

CountryListDeleteForm
Provides a form for deleting a countrylist entity.

Namespace

Drupal\country_state_city\Form

Code

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