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