You are here

public function ForcePasswordChangeServiceInterface::updateExpiryForRole in Force Password Change 8

Same name and namespace in other branches
  1. 2.0.x 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. * @param $time_period * The number of seconds after which the password should expire for users in the role. * @param $weight * The priority of the expiration in relation to other roles

1 method overrides ForcePasswordChangeServiceInterface::updateExpiryForRole()
ForcePasswordChangeService::updateExpiryForRole in src/Service/ForcePasswordChangeService.php
*

File

src/Service/ForcePasswordChangeServiceInterface.php, line 86

Class

ForcePasswordChangeServiceInterface

Namespace

Drupal\force_password_change\Service

Code

public function updateExpiryForRole($rid, $time_period, $weight);