You are here

public function TwitterAuthLoginNoticeForm::getCancelUrl in Open Social 8.4

Same name and namespace in other branches
  1. 8.9 modules/custom/social_auth_twitter/src/Form/TwitterAuthLoginNoticeForm.php \Drupal\social_auth_twitter\Form\TwitterAuthLoginNoticeForm::getCancelUrl()
  2. 8 modules/custom/social_auth_twitter/src/Form/TwitterAuthLoginNoticeForm.php \Drupal\social_auth_twitter\Form\TwitterAuthLoginNoticeForm::getCancelUrl()
  3. 8.2 modules/custom/social_auth_twitter/src/Form/TwitterAuthLoginNoticeForm.php \Drupal\social_auth_twitter\Form\TwitterAuthLoginNoticeForm::getCancelUrl()
  4. 8.3 modules/custom/social_auth_twitter/src/Form/TwitterAuthLoginNoticeForm.php \Drupal\social_auth_twitter\Form\TwitterAuthLoginNoticeForm::getCancelUrl()
  5. 8.5 modules/custom/social_auth_twitter/src/Form/TwitterAuthLoginNoticeForm.php \Drupal\social_auth_twitter\Form\TwitterAuthLoginNoticeForm::getCancelUrl()
  6. 8.6 modules/custom/social_auth_twitter/src/Form/TwitterAuthLoginNoticeForm.php \Drupal\social_auth_twitter\Form\TwitterAuthLoginNoticeForm::getCancelUrl()
  7. 8.7 modules/custom/social_auth_twitter/src/Form/TwitterAuthLoginNoticeForm.php \Drupal\social_auth_twitter\Form\TwitterAuthLoginNoticeForm::getCancelUrl()
  8. 8.8 modules/custom/social_auth_twitter/src/Form/TwitterAuthLoginNoticeForm.php \Drupal\social_auth_twitter\Form\TwitterAuthLoginNoticeForm::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_twitter/src/Form/TwitterAuthLoginNoticeForm.php, line 49

Class

TwitterAuthLoginNoticeForm
Class TwitterAuthLoginNoticeForm.

Namespace

Drupal\social_auth_twitter\Form

Code

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