You are here

public function FacebookAuth::getDataHandler in Open Social 8.7

Same name and namespace in other branches
  1. 8.9 modules/custom/social_auth_facebook/src/Plugin/Network/FacebookAuth.php \Drupal\social_auth_facebook\Plugin\Network\FacebookAuth::getDataHandler()
  2. 8 modules/custom/social_auth_facebook/src/Plugin/Network/FacebookAuth.php \Drupal\social_auth_facebook\Plugin\Network\FacebookAuth::getDataHandler()
  3. 8.2 modules/custom/social_auth_facebook/src/Plugin/Network/FacebookAuth.php \Drupal\social_auth_facebook\Plugin\Network\FacebookAuth::getDataHandler()
  4. 8.3 modules/custom/social_auth_facebook/src/Plugin/Network/FacebookAuth.php \Drupal\social_auth_facebook\Plugin\Network\FacebookAuth::getDataHandler()
  5. 8.4 modules/custom/social_auth_facebook/src/Plugin/Network/FacebookAuth.php \Drupal\social_auth_facebook\Plugin\Network\FacebookAuth::getDataHandler()
  6. 8.5 modules/custom/social_auth_facebook/src/Plugin/Network/FacebookAuth.php \Drupal\social_auth_facebook\Plugin\Network\FacebookAuth::getDataHandler()
  7. 8.6 modules/custom/social_auth_facebook/src/Plugin/Network/FacebookAuth.php \Drupal\social_auth_facebook\Plugin\Network\FacebookAuth::getDataHandler()
  8. 8.8 modules/custom/social_auth_facebook/src/Plugin/Network/FacebookAuth.php \Drupal\social_auth_facebook\Plugin\Network\FacebookAuth::getDataHandler()

Returns an instance of storage that handles data.

Return value

object An instance of the storage that handles the data.

1 call to FacebookAuth::getDataHandler()
FacebookAuth::initSdk in modules/custom/social_auth_facebook/src/Plugin/Network/FacebookAuth.php
Returns an instance of sdk.

File

modules/custom/social_auth_facebook/src/Plugin/Network/FacebookAuth.php, line 134

Class

FacebookAuth
Defines a Network Plugin for Social Auth Facebook.

Namespace

Drupal\social_auth_facebook\Plugin\Network

Code

public function getDataHandler() {
  $data_handler = \Drupal::service('social_auth_facebook.persistent_data_handler');
  $data_handler
    ->setPrefix('social_auth_facebook_');
  return $data_handler;
}