You are here

public function UserStorageInterface::updateLastLoginTimestamp in Drupal 10

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

Update the last login timestamp of the user.

Parameters

\Drupal\user\UserInterface $account: The user account.

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

File

core/modules/user/src/UserStorageInterface.php, line 19

Class

UserStorageInterface
Defines an interface for user entity storage classes.

Namespace

Drupal\user

Code

public function updateLastLoginTimestamp(UserInterface $account);