You are here

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

Class

HostMultipleRefreshConfirm
Provides a multiple host expiry refresh confirmation form.

Namespace

Drupal\httpbl\Form

Code

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