function AccountInterface::getLastAccessedTime
Same name in other branches
- 9 core/lib/Drupal/Core/Session/AccountInterface.php \Drupal\Core\Session\AccountInterface::getLastAccessedTime()
- 8.9.x core/lib/Drupal/Core/Session/AccountInterface.php \Drupal\Core\Session\AccountInterface::getLastAccessedTime()
- 11.x core/lib/Drupal/Core/Session/AccountInterface.php \Drupal\Core\Session\AccountInterface::getLastAccessedTime()
The timestamp when the account last accessed the site.
A value of 0 means the user has never accessed the site.
Return value
int Timestamp of the last access.
File
-
core/
lib/ Drupal/ Core/ Session/ AccountInterface.php, line 159
Class
- AccountInterface
- Defines an account interface which represents the current user.
Namespace
Drupal\Core\SessionCode
public function getLastAccessedTime();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.