public function UserSession8b7c:f320:99b9:690f:4595:cd17:293a:c069id public UserSession8b7c:f320:99b9:690f:4595:cd17:293a:c069id() Returns the user ID or 0 for anonymous. Return value  int The user ID. Overrides AccountInter8b7c:f320:99b9:690f:4595:cd17:293a:c069id File
 core/lib/Drupal/Core/Session/UserSession.php, line 85  Class
 
UserSession  An implementation of the user account interface for the global user.  Namespace Drupal\Core\Session Code public function id() {
  return $this->uid;
}


    
{'path': 'public/docs/drupal~8/core-lib-drupal-core-session-usersession.php/function/usersession-id/8.1.x.html', 'source': 'DevDocs.IO'}