public function ForcePasswordChangeServiceInterface::setChangedTimeForUser in Force Password Change 2.0.x
Same name and namespace in other branches
- 8 src/Service/ForcePasswordChangeServiceInterface.php \Drupal\force_password_change\Service\ForcePasswordChangeServiceInterface::setChangedTimeForUser()
Set the last time a user's password was changed to the current timestamp.
Parameters
int $uid: The User ID of the user whose last password time change should be registered.
1 method overrides ForcePasswordChangeServiceInterface::setChangedTimeForUser()
- ForcePasswordChangeService::setChangedTimeForUser in src/
Service/ ForcePasswordChangeService.php - Set the last time a user's password was changed to the current timestamp.
File
- src/
Service/ ForcePasswordChangeServiceInterface.php, line 162
Class
Namespace
Drupal\force_password_change\ServiceCode
public function setChangedTimeForUser($uid);