You are here

public function SocialAuthUser::setAdditionalData in Social Auth 8.2

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

Sets the user's additional data.

Parameters

array|null $additional_data: The user's additional data.

Overrides SocialAuthUserInterface::setAdditionalData

File

src/User/SocialAuthUser.php, line 233

Class

SocialAuthUser
User data used for authentication with Drupal.

Namespace

Drupal\social_auth\User

Code

public function setAdditionalData($additional_data) {
  $this->additionalData = $additional_data;
}