You are here

public function LinkedInAuth::getDataHandler in Open Social 8.7

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

Returns an instance of storage that handles data.

Return value

object An instance of the storage that handles the data.

File

modules/custom/social_auth_linkedin/src/Plugin/Network/LinkedInAuth.php, line 126

Class

LinkedInAuth
Defines a Network Plugin for Social Auth LinkedIn.

Namespace

Drupal\social_auth_linkedin\Plugin\Network

Code

public function getDataHandler() {
  $data_handler = \Drupal::service('social_auth_extra.session_persistent_data_handler');
  $data_handler
    ->setPrefix('social_auth_linkedin_');
  return $data_handler;
}