public function TwitterUserManager::getAccountId in Open Social 8.5
Same name and namespace in other branches
- 8.9 modules/custom/social_auth_twitter/src/TwitterUserManager.php \Drupal\social_auth_twitter\TwitterUserManager::getAccountId()
- 8 modules/custom/social_auth_twitter/src/TwitterUserManager.php \Drupal\social_auth_twitter\TwitterUserManager::getAccountId()
- 8.2 modules/custom/social_auth_twitter/src/TwitterUserManager.php \Drupal\social_auth_twitter\TwitterUserManager::getAccountId()
- 8.3 modules/custom/social_auth_twitter/src/TwitterUserManager.php \Drupal\social_auth_twitter\TwitterUserManager::getAccountId()
- 8.4 modules/custom/social_auth_twitter/src/TwitterUserManager.php \Drupal\social_auth_twitter\TwitterUserManager::getAccountId()
- 8.6 modules/custom/social_auth_twitter/src/TwitterUserManager.php \Drupal\social_auth_twitter\TwitterUserManager::getAccountId()
- 8.7 modules/custom/social_auth_twitter/src/TwitterUserManager.php \Drupal\social_auth_twitter\TwitterUserManager::getAccountId()
- 8.8 modules/custom/social_auth_twitter/src/TwitterUserManager.php \Drupal\social_auth_twitter\TwitterUserManager::getAccountId()
Get the account ID to the account on this site.
Return value
string Account ID on this site.
Overrides UserManagerInterface::getAccountId
File
- modules/
custom/ social_auth_twitter/ src/ TwitterUserManager.php, line 32
Class
- TwitterUserManager
- Class TwitterUserManager.
Namespace
Drupal\social_auth_twitterCode
public function getAccountId() {
return $this->account
->get('twitter_id')->value;
}