public function GoogleUserManager::setAccountId in Open Social 8.6
Same name and namespace in other branches
- 8.9 modules/custom/social_auth_google/src/GoogleUserManager.php \Drupal\social_auth_google\GoogleUserManager::setAccountId()
- 8 modules/custom/social_auth_google/src/GoogleUserManager.php \Drupal\social_auth_google\GoogleUserManager::setAccountId()
- 8.2 modules/custom/social_auth_google/src/GoogleUserManager.php \Drupal\social_auth_google\GoogleUserManager::setAccountId()
- 8.3 modules/custom/social_auth_google/src/GoogleUserManager.php \Drupal\social_auth_google\GoogleUserManager::setAccountId()
- 8.4 modules/custom/social_auth_google/src/GoogleUserManager.php \Drupal\social_auth_google\GoogleUserManager::setAccountId()
- 8.5 modules/custom/social_auth_google/src/GoogleUserManager.php \Drupal\social_auth_google\GoogleUserManager::setAccountId()
- 8.7 modules/custom/social_auth_google/src/GoogleUserManager.php \Drupal\social_auth_google\GoogleUserManager::setAccountId()
- 8.8 modules/custom/social_auth_google/src/GoogleUserManager.php \Drupal\social_auth_google\GoogleUserManager::setAccountId()
Set the account ID to the account on this site.
Parameters
string $account_id: Identifier of account on this site.
Return value
null Returns null.
Overrides UserManagerInterface::setAccountId
File
- modules/
custom/ social_auth_google/ src/ GoogleUserManager.php, line 25
Class
- GoogleUserManager
- Class GoogleUserManager.
Namespace
Drupal\social_auth_googleCode
public function setAccountId($account_id) {
$this->account
->get('google_id')
->setValue($account_id);
}