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