You are here

public function SocialApiDataHandler::getSessionPrefix in Social API 3.x

Same name and namespace in other branches
  1. 8.2 src/SocialApiDataHandler.php \Drupal\social_api\SocialApiDataHandler::getSessionPrefix()

Gets the session prefix for the data handler.

Return value

string The session prefix.

2 calls to SocialApiDataHandler::getSessionPrefix()
SocialApiDataHandler::get in src/SocialApiDataHandler.php
Gets a session variable by key.
SocialApiDataHandler::set in src/SocialApiDataHandler.php
Sets a new session variable.

File

src/SocialApiDataHandler.php, line 67

Class

SocialApiDataHandler
Variables are written to and read from session via this class.

Namespace

Drupal\social_api

Code

public function getSessionPrefix() {
  return $this->sessionPrefix;
}