You are here

public function ForcePasswordChangeService::updateLastChangeForRoles in Force Password Change 2.0.x

Same name and namespace in other branches
  1. 8 src/Service/ForcePasswordChangeService.php \Drupal\force_password_change\Service\ForcePasswordChangeService::updateLastChangeForRoles()

Update the time at which all users in the given roles have been forced to change their passwords.

Parameters

array $rids: An array of Role IDs whose times should be updated.

Overrides ForcePasswordChangeServiceInterface::updateLastChangeForRoles

File

src/Service/ForcePasswordChangeService.php, line 153

Class

ForcePasswordChangeService

Namespace

Drupal\force_password_change\Service

Code

public function updateLastChangeForRoles($rids) {
  $this->mapper
    ->updateLastChangeForRoles($rids);
}