UserStorageInterface::updateLastAccessTimestamp

public UserStorageInterface::updateLastAccessTimestamp(AccountInterface $account, $timestamp)

Update the last access timestamp of the user.

Parameters

\Drupal\Core\Session\AccountInterface $account: The user object.

int $timestamp: The last access timestamp.

File

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

Class

UserStorageInterface
Defines an interface for user entity storage classes.

Namespace

Drupal\user

Code

public function updateLastAccessTimestamp(AccountInterface $account, $timestamp);
doc_Drupal
2016-10-29 09:53:09
Comments
Leave a Comment

Please login to continue.