You are here

public function AuthLoginNoticeForm::getCancelUrl in Open Social 8.7

Same name and namespace in other branches
  1. 8.9 modules/custom/social_auth_extra/src/Form/AuthLoginNoticeForm.php \Drupal\social_auth_extra\Form\AuthLoginNoticeForm::getCancelUrl()
  2. 8 modules/custom/social_auth_extra/src/Form/AuthLoginNoticeForm.php \Drupal\social_auth_extra\Form\AuthLoginNoticeForm::getCancelUrl()
  3. 8.2 modules/custom/social_auth_extra/src/Form/AuthLoginNoticeForm.php \Drupal\social_auth_extra\Form\AuthLoginNoticeForm::getCancelUrl()
  4. 8.3 modules/custom/social_auth_extra/src/Form/AuthLoginNoticeForm.php \Drupal\social_auth_extra\Form\AuthLoginNoticeForm::getCancelUrl()
  5. 8.4 modules/custom/social_auth_extra/src/Form/AuthLoginNoticeForm.php \Drupal\social_auth_extra\Form\AuthLoginNoticeForm::getCancelUrl()
  6. 8.5 modules/custom/social_auth_extra/src/Form/AuthLoginNoticeForm.php \Drupal\social_auth_extra\Form\AuthLoginNoticeForm::getCancelUrl()
  7. 8.6 modules/custom/social_auth_extra/src/Form/AuthLoginNoticeForm.php \Drupal\social_auth_extra\Form\AuthLoginNoticeForm::getCancelUrl()
  8. 8.8 modules/custom/social_auth_extra/src/Form/AuthLoginNoticeForm.php \Drupal\social_auth_extra\Form\AuthLoginNoticeForm::getCancelUrl()

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

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

File

modules/custom/social_auth_extra/src/Form/AuthLoginNoticeForm.php, line 56

Class

AuthLoginNoticeForm
Class AuthLoginNoticeForm.

Namespace

Drupal\social_auth_extra\Form

Code

public function getCancelUrl() {
  return Url::fromRoute('user.login');
}