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