You are here

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

Class

StateListDeleteForm
Provides a form for deleting a statelist entity.

Namespace

Drupal\country_state_city\Form

Code

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