public function User::getSessionId

Returns the session ID.

Return value

string|NULL The session ID or NULL if this user does not have an active session.

Overrides AccountInterface::getSessionId

File

drupal/core/modules/user/lib/Drupal/user/Plugin/Core/Entity/User.php, line 271
Definition of Drupal\user\Plugin\Core\Entity\User.

Class

User
Defines the user entity class.

Namespace

Drupal\user\Plugin\Core\Entity

Code

public function getSessionId() {
  return NULL;
}