You are here

public function ForcePasswordChangeMapperInterface::insertExpiryForRoles 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::insertExpiryForRoles()

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

Parameters

array $values: * An array data representing the time period after which users in roles will be required * to change their password. Each row of the array must contain the following keys: * - rid: The Role ID of the role to be inserted * - expiry: The number of seconds after which their password should expire * - weight: The priority of the expiration in relation to other roles.

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

File

src/Mapper/ForcePasswordChangeMapperInterface.php, line 74

Class

ForcePasswordChangeMapperInterface

Namespace

Drupal\force_password_change\Mapper

Code

public function insertExpiryForRoles(array $values);