function UserStorageInterface::updateLastAccessTimestamp

Same name in other branches
  1. 9 core/modules/user/src/UserStorageInterface.php \Drupal\user\UserStorageInterface::updateLastAccessTimestamp()
  2. 8.9.x core/modules/user/src/UserStorageInterface.php \Drupal\user\UserStorageInterface::updateLastAccessTimestamp()
  3. 11.x 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 29

Class

UserStorageInterface
Defines an interface for user entity storage classes.

Namespace

Drupal\user

Code

public function updateLastAccessTimestamp(AccountInterface $account, $timestamp);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.