public function UserStorageInterface::updateLastAccessTimestamp in Drupal 10
Same name and namespace in other branches
- 8 core/modules/user/src/UserStorageInterface.php \Drupal\user\UserStorageInterface::updateLastAccessTimestamp()
- 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 29
Class
- UserStorageInterface
- Defines an interface for user entity storage classes.
Namespace
Drupal\userCode
public function updateLastAccessTimestamp(AccountInterface $account, $timestamp);