public function UserStorageInterface::updateLastAccessTimestamp in Drupal 9
Same name and namespace in other branches
- 8 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\userCode
public function updateLastAccessTimestamp(AccountInterface $account, $timestamp);