You are here

public function CaptchaPointEnableForm::getCancelUrl in CAPTCHA 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/CaptchaPointEnableForm.php, line 31

Class

CaptchaPointEnableForm
Builds the form to delete a Captcha Point.

Namespace

Drupal\captcha\Form

Code

public function getCancelUrl() {
  return new Url('captcha_point.list');
}