public function AccountInterface::getSessionId

Returns the session ID.

Return value

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

3 methods override AccountInterface::getSessionId()

File

drupal/core/lib/Drupal/Core/Session/AccountInterface.php, line 40
Contains \Drupal\Core\Session\AccountInterface.

Class

AccountInterface
Defines an account interface which represents the current user.

Namespace

Drupal\Core\Session

Code

public function getSessionId();