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