You are here

public function SocialAuthUser::setName in Social Auth 3.x

Same name and namespace in other branches
  1. 8.2 src/User/SocialAuthUser.php \Drupal\social_auth\User\SocialAuthUser::setName()

Sets the user's name.

Parameters

string $name: The user's name.

Overrides SocialAuthUserInterface::setName

File

src/User/SocialAuthUser.php, line 149

Class

SocialAuthUser
User data used for authentication with Drupal.

Namespace

Drupal\social_auth\User

Code

public function setName($name) {
  $this->name = $name;
}