You are here

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

Class

HostMultipleWhitelistConfirm
Provides a multiple host white-listing (and un-banning) confirmation form.

Namespace

Drupal\httpbl\Form

Code

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