You are here

public function HostDeleteForm::getCancelUrl in http:BL 8

If the delete command is canceled, return to the evaluated hosts list.

Overrides ConfirmFormInterface::getCancelUrl

File

src/Form/HostDeleteForm.php, line 102

Class

HostDeleteForm
Provides a form for deleting (and unbanning) a host entity.

Namespace

Drupal\httpbl\Form

Code

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