You are here

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

Class

HostMultipleBanConfirm
Provides a multiple host blacklisting and banning confirmation form.

Namespace

Drupal\httpbl\Form

Code

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