You are here

public function UserManagerInterface::downloadProfilePicture in Open Social 8.8

Same name and namespace in other branches
  1. 8.9 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::downloadProfilePicture()
  2. 8 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::downloadProfilePicture()
  3. 8.2 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::downloadProfilePicture()
  4. 8.3 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::downloadProfilePicture()
  5. 8.4 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::downloadProfilePicture()
  6. 8.5 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::downloadProfilePicture()
  7. 8.6 modules/custom/social_auth_extra/src/UserManagerInterface.php \Drupal\social_auth_extra\UserManagerInterface::downloadProfilePicture()
  8. 8.7 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_extra

Code

public function downloadProfilePicture($url, $account_id);