public function EmailConfirmerResponseForm::getCancelUrl in Email confirmer 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/ EmailConfirmerResponseForm.php, line 36
Class
- EmailConfirmerResponseForm
- Email confirmation response form.
Namespace
Drupal\email_confirmer\FormCode
public function getCancelUrl() {
return Url::fromRoute('<front>');
}