You are here

public function AuthSessionDataHandler::setPrefix in Open Social 8.3

Same name and namespace in other branches
  1. 8.9 modules/custom/social_auth_extra/src/AuthSessionDataHandler.php \Drupal\social_auth_extra\AuthSessionDataHandler::setPrefix()
  2. 8 modules/custom/social_auth_extra/src/AuthSessionDataHandler.php \Drupal\social_auth_extra\AuthSessionDataHandler::setPrefix()
  3. 8.2 modules/custom/social_auth_extra/src/AuthSessionDataHandler.php \Drupal\social_auth_extra\AuthSessionDataHandler::setPrefix()
  4. 8.4 modules/custom/social_auth_extra/src/AuthSessionDataHandler.php \Drupal\social_auth_extra\AuthSessionDataHandler::setPrefix()
  5. 8.5 modules/custom/social_auth_extra/src/AuthSessionDataHandler.php \Drupal\social_auth_extra\AuthSessionDataHandler::setPrefix()
  6. 8.6 modules/custom/social_auth_extra/src/AuthSessionDataHandler.php \Drupal\social_auth_extra\AuthSessionDataHandler::setPrefix()
  7. 8.7 modules/custom/social_auth_extra/src/AuthSessionDataHandler.php \Drupal\social_auth_extra\AuthSessionDataHandler::setPrefix()
  8. 8.8 modules/custom/social_auth_extra/src/AuthSessionDataHandler.php \Drupal\social_auth_extra\AuthSessionDataHandler::setPrefix()

Set a key which will be used as prefix for keys in the storage.

Parameters

string $prefix: Key to use as a prefix in the storage.

Return value

null Returns null.

Overrides AuthDataHandlerInterface::setPrefix

File

modules/custom/social_auth_extra/src/AuthSessionDataHandler.php, line 55

Class

AuthSessionDataHandler
Class AuthSessionDataHandler.

Namespace

Drupal\social_auth_extra

Code

public function setPrefix($prefix) {
  $this->sessionPrefix = $prefix;
}