TwitterUserManager.php in Open Social 8.9
Same filename and directory in other branches
- 8 modules/custom/social_auth_twitter/src/TwitterUserManager.php
- 8.2 modules/custom/social_auth_twitter/src/TwitterUserManager.php
- 8.3 modules/custom/social_auth_twitter/src/TwitterUserManager.php
- 8.4 modules/custom/social_auth_twitter/src/TwitterUserManager.php
- 8.5 modules/custom/social_auth_twitter/src/TwitterUserManager.php
- 8.6 modules/custom/social_auth_twitter/src/TwitterUserManager.php
- 8.7 modules/custom/social_auth_twitter/src/TwitterUserManager.php
- 8.8 modules/custom/social_auth_twitter/src/TwitterUserManager.php
Namespace
Drupal\social_auth_twitterFile
modules/custom/social_auth_twitter/src/TwitterUserManager.phpView source
<?php
namespace Drupal\social_auth_twitter;
use Drupal\social_auth_extra\UserManager;
use Drupal\social_auth_twitter\Settings\TwitterAuthSettings;
/**
* Class TwitterUserManager.
*
* @package Drupal\social_auth_twitter
*/
class TwitterUserManager extends UserManager {
/**
* {@inheritdoc}
*/
public function getSocialNetworkKey() {
return TwitterAuthSettings::getSocialNetworkKey();
}
/**
* {@inheritdoc}
*/
public function setAccountId($account_id) {
$this->account
->get('twitter_id')
->setValue($account_id);
}
/**
* {@inheritdoc}
*/
public function getAccountId() {
return $this->account
->get('twitter_id')->value;
}
}
Classes
Name | Description |
---|---|
TwitterUserManager | Class TwitterUserManager. |