You are here

public function SiteVerifyDeleteForm::getCancelUrl in Site verification 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/SiteVerifyDeleteForm.php, line 43

Class

SiteVerifyDeleteForm
Builds the form to delete a forum term.

Namespace

Drupal\site_verify\Form

Code

public function getCancelUrl() {
  return Url::fromRoute('site_verify.verifications_list');
}