You are here

public function ForcePasswordChangeMapperInterface::updateExpiryForRole in Force Password Change 8

Same name and namespace in other branches
  1. 2.0.x src/Mapper/ForcePasswordChangeMapperInterface.php \Drupal\force_password_change\Mapper\ForcePasswordChangeMapperInterface::updateExpiryForRole()

* Update the time periods at which all users in the given role will be * forced to change their password. * *

Parameters

string $rid: * The Role ID of the role to be inserted * @param int $expiry * The number of seconds after which their password should expire * @param int $weight * The priority of the expiration in relation to other roles.

1 method overrides ForcePasswordChangeMapperInterface::updateExpiryForRole()
ForcePasswordChangeMapper::updateExpiryForRole in src/Mapper/ForcePasswordChangeMapper.php
*

File

src/Mapper/ForcePasswordChangeMapperInterface.php, line 87

Class

ForcePasswordChangeMapperInterface

Namespace

Drupal\force_password_change\Mapper

Code

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