You are here

public function EmailVerifyCheckAllForm::getCancelUrl in Email Verify 8.2

Returns the route to go to if the user cancels the action.

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

1 call to EmailVerifyCheckAllForm::getCancelUrl()
EmailVerifyCheckAllForm::submitForm in src/Form/EmailVerifyCheckAllForm.php
Form submission handler.

File

src/Form/EmailVerifyCheckAllForm.php, line 62
Contains \Drupal\email_verify\Form\EmailVerifyCheckAllForm.

Class

EmailVerifyCheckAllForm

Namespace

Drupal\email_verify\Form

Code

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