You are here

public function HostMultipleUnbanConfirm::getCancelUrl in http:BL 8

Returns the route to go to if the user cancels the action.

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

File

src/Form/HostMultipleUnbanConfirm.php, line 112

Class

HostMultipleUnbanConfirm
Provides a multiple host un-ban blacklisted confirmation form.

Namespace

Drupal\httpbl\Form

Code

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