public function UserBCDecorator::getSessionData

Returns the session data.

Return value

array Array with the session data that belongs to this object.

Overrides AccountInterface::getSessionData

File

drupal/core/modules/user/lib/Drupal/user/UserBCDecorator.php, line 47
Contains \Drupal\user\UserBCDecorator.

Class

UserBCDecorator
Defines the user specific entity BC decorator.

Namespace

Drupal\user

Code

public function getSessionData() {
  return $this->decorated
    ->getSecureSessionId();
}