public function UserManagerInterface::downloadProfilePicture in Open Social 8.5
Same name and namespace in other branches
- 8.9 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::downloadProfilePicture()
- 8 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::downloadProfilePicture()
- 8.2 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::downloadProfilePicture()
- 8.3 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::downloadProfilePicture()
- 8.4 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::downloadProfilePicture()
- 8.6 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::downloadProfilePicture()
- 8.7 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::downloadProfilePicture()
- 8.8 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::downloadProfilePicture()
Saves the picture from URL.
Parameters
string $url: Absolute URL of a picture.
string $account_id: Identifier of account on social network.
Return value
bool|object Object of created file or FALSE when error has occurred.
1 method overrides UserManagerInterface::downloadProfilePicture()
- UserManager::downloadProfilePicture in modules/
custom/ social_auth_extra/ src/ UserManager.php - Saves the picture from URL.
File
- modules/
custom/ social_auth_extra/ src/ UserManagerInterface.php, line 70
Class
- UserManagerInterface
- Interface UserManagerInterface.
Namespace
Drupal\social_auth_extraCode
public function downloadProfilePicture($url, $account_id);