You are here

public function GoogleAuthController::userRegister in Open Social 8.2

Same name and namespace in other branches
  1. 8.9 modules/custom/social_auth_google/src/Controller/GoogleAuthController.php \Drupal\social_auth_google\Controller\GoogleAuthController::userRegister()
  2. 8 modules/custom/social_auth_google/src/Controller/GoogleAuthController.php \Drupal\social_auth_google\Controller\GoogleAuthController::userRegister()
  3. 8.3 modules/custom/social_auth_google/src/Controller/GoogleAuthController.php \Drupal\social_auth_google\Controller\GoogleAuthController::userRegister()
  4. 8.4 modules/custom/social_auth_google/src/Controller/GoogleAuthController.php \Drupal\social_auth_google\Controller\GoogleAuthController::userRegister()
  5. 8.5 modules/custom/social_auth_google/src/Controller/GoogleAuthController.php \Drupal\social_auth_google\Controller\GoogleAuthController::userRegister()
  6. 8.6 modules/custom/social_auth_google/src/Controller/GoogleAuthController.php \Drupal\social_auth_google\Controller\GoogleAuthController::userRegister()
  7. 8.7 modules/custom/social_auth_google/src/Controller/GoogleAuthController.php \Drupal\social_auth_google\Controller\GoogleAuthController::userRegister()
  8. 8.8 modules/custom/social_auth_google/src/Controller/GoogleAuthController.php \Drupal\social_auth_google\Controller\GoogleAuthController::userRegister()

Response for path 'user/register/google'.

Redirects the user to Google for registration.

1 string reference to 'GoogleAuthController::userRegister'
social_auth_google.routing.yml in modules/custom/social_auth_google/social_auth_google.routing.yml
modules/custom/social_auth_google/social_auth_google.routing.yml

File

modules/custom/social_auth_google/src/Controller/GoogleAuthController.php, line 129

Class

GoogleAuthController
Class GoogleAuthController.

Namespace

Drupal\social_auth_google\Controller

Code

public function userRegister() {
  return $this
    ->getRedirectResponse('register');
}