You are here

public function UserStorageInterface::updateLastAccessTimestamp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/user/src/UserStorageInterface.php \Drupal\user\UserStorageInterface::updateLastAccessTimestamp()

Update the last access timestamp of the user.

Parameters

\Drupal\Core\Session\AccountInterface $account: The user object.

int $timestamp: The last access timestamp.

1 method overrides UserStorageInterface::updateLastAccessTimestamp()
UserStorage::updateLastAccessTimestamp in core/modules/user/src/UserStorage.php
Update the last access timestamp of the user.

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);