You are here

public function W3CValidatorOperationConfirmForm::getCancelUrl in W3C Validator 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/W3CValidatorOperationConfirmForm.php, line 59

Class

W3CValidatorOperationConfirmForm
Provides a confirmation form before clearing out the logs.

Namespace

Drupal\w3c_validator\Form

Code

public function getCancelUrl() {
  return new Url('w3c_validator.overview');
}