public function LinkedInUserManager::setAccountId in Open Social 8.7
Same name and namespace in other branches
- 8.9 modules/custom/social_auth_linkedin/src/LinkedInUserManager.php \Drupal\social_auth_linkedin\LinkedInUserManager::setAccountId()
- 8 modules/custom/social_auth_linkedin/src/LinkedInUserManager.php \Drupal\social_auth_linkedin\LinkedInUserManager::setAccountId()
- 8.2 modules/custom/social_auth_linkedin/src/LinkedInUserManager.php \Drupal\social_auth_linkedin\LinkedInUserManager::setAccountId()
- 8.3 modules/custom/social_auth_linkedin/src/LinkedInUserManager.php \Drupal\social_auth_linkedin\LinkedInUserManager::setAccountId()
- 8.4 modules/custom/social_auth_linkedin/src/LinkedInUserManager.php \Drupal\social_auth_linkedin\LinkedInUserManager::setAccountId()
- 8.5 modules/custom/social_auth_linkedin/src/LinkedInUserManager.php \Drupal\social_auth_linkedin\LinkedInUserManager::setAccountId()
- 8.6 modules/custom/social_auth_linkedin/src/LinkedInUserManager.php \Drupal\social_auth_linkedin\LinkedInUserManager::setAccountId()
- 8.8 modules/custom/social_auth_linkedin/src/LinkedInUserManager.php \Drupal\social_auth_linkedin\LinkedInUserManager::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_linkedin/ src/ LinkedInUserManager.php, line 25
Class
- LinkedInUserManager
- Class LinkedInUserManager.
Namespace
Drupal\social_auth_linkedinCode
public function setAccountId($account_id) {
$this->account
->get('linkedin_id')
->setValue($account_id);
}