public function UserManagerInterface::setProfilePicture in Open Social 8.8
Same name and namespace in other branches
- 8.9 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::setProfilePicture()
- 8 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::setProfilePicture()
- 8.2 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::setProfilePicture()
- 8.3 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::setProfilePicture()
- 8.4 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::setProfilePicture()
- 8.5 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::setProfilePicture()
- 8.6 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::setProfilePicture()
- 8.7 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::setProfilePicture()
Download and set the picture to profile.
Parameters
string $url: Absolute URL of a picture.
string $account_id: Identifier of account on social network.
Return value
bool Returns TRUE if the picture was saved successfully, FALSE if it didn't.
1 method overrides UserManagerInterface::setProfilePicture()
- UserManager::setProfilePicture in modules/
custom/ social_auth_extra/ src/ UserManager.php - Download and set the picture to profile.
File
- modules/
custom/ social_auth_extra/ src/ UserManagerInterface.php, line 57
Class
- UserManagerInterface
- Interface UserManagerInterface.
Namespace
Drupal\social_auth_extraCode
public function setProfilePicture($url, $account_id);