public function SocialAuthUser::getEmail in Social Auth 3.x
Same name and namespace in other branches
- 8.2 src/User/SocialAuthUser.php \Drupal\social_auth\User\SocialAuthUser::getEmail()
Gets the user's email.
Return value
string The user's email.
Overrides SocialAuthUserInterface::getEmail
File
- src/
User/ SocialAuthUser.php, line 156
Class
- SocialAuthUser
- User data used for authentication with Drupal.
Namespace
Drupal\social_auth\UserCode
public function getEmail() {
return $this->email;
}