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