public UserInterface::setLastAccessTime($timestamp)
Sets the UNIX timestamp when the user last accessed the site..
Parameters
int $timestamp: Timestamp of the last access.
Return value
\Drupal\user\UserInterface The called user entity.
File
- core/modules/user/src/UserInterface.php, line 101
Class
- UserInterface
- Provides an interface defining a user entity.
Namespace
Drupal\user
Code
public function setLastAccessTime($timestamp);
Please login to continue.