public function ForcePasswordChangeServiceInterface::updateExpiryForRole 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::updateExpiryForRole()
Update the time period expiration data for a given role.
Parameters
string $rid: The Role ID of the role being updated.
$time_period: The number of seconds after which the password should expire for users in the role.
$weight: The priority of the expiration in relation to other roles
1 method overrides ForcePasswordChangeServiceInterface::updateExpiryForRole()
- ForcePasswordChangeService::updateExpiryForRole in src/
Service/ ForcePasswordChangeService.php - Update the time period expiration data for a given role.
File
- src/
Service/ ForcePasswordChangeServiceInterface.php, line 90
Class
Namespace
Drupal\force_password_change\ServiceCode
public function updateExpiryForRole($rid, $time_period, $weight);