Returns the session data.
Return value
array
Array with the session data that belongs to this object.
Overrides AccountInterface::getSessionData
File
- drupal/core/lib/Drupal/Core/Session/UserSession.php, line 104
- Contains \Drupal\Core\Session\UserSession.
Class
- UserSession
- An implementation of the user account interface for the global user.
Namespace
Drupal\Core\Session
Code
public function getSessionData() {
return $this->session;
}