public function SocialApiDataHandler::setSessionPrefix in Social API 8.2
Same name and namespace in other branches
- 3.x src/SocialApiDataHandler.php \Drupal\social_api\SocialApiDataHandler::setSessionPrefix()
Sets the session prefix for the data handler.
Parameters
string $prefix: The session prefix.
File
- src/
SocialApiDataHandler.php, line 77
Class
- SocialApiDataHandler
- Variables are written to and read from session via this class.
Namespace
Drupal\social_apiCode
public function setSessionPrefix($prefix) {
$this->sessionPrefix = $prefix . '_';
}