function UserStorageInterface::updateLastLoginTimestamp
Same name in other branches
- 9 core/modules/user/src/UserStorageInterface.php \Drupal\user\UserStorageInterface::updateLastLoginTimestamp()
- 10 core/modules/user/src/UserStorageInterface.php \Drupal\user\UserStorageInterface::updateLastLoginTimestamp()
- 11.x core/modules/user/src/UserStorageInterface.php \Drupal\user\UserStorageInterface::updateLastLoginTimestamp()
Update the last login timestamp of the user.
Parameters
\Drupal\user\UserInterface $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 18
Class
- UserStorageInterface
- Defines an interface for user entity storage classes.
Namespace
Drupal\userCode
public function updateLastLoginTimestamp(UserInterface $account);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.