You are here

public function SocialAuthUser::setLastName in Social Auth 8.2

Same name and namespace in other branches
  1. 3.x 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\User

Code

public function setLastName($last_name) {
  $this->lastName = $last_name;
}