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