public function SocialAuthUser::setAdditionalData in Social Auth 3.x
Same name and namespace in other branches
- 8.2 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\UserCode
public function setAdditionalData($additional_data) {
$this->additionalData = $additional_data;
}