public UserStorageInterface::updateLastAccessTimestamp(AccountInterface $account, $timestamp)
Update the last access timestamp of the user.
Parameters
\Drupal\Core\Session\AccountInterface $account: The user object.
int $timestamp: The last access timestamp.
File
- core/modules/user/src/UserStorageInterface.php, line 28
Class
- UserStorageInterface
- Defines an interface for user entity storage classes.
Namespace
Drupal\user
Code
public function updateLastAccessTimestamp(AccountInterface $account, $timestamp);
Please login to continue.