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