You are here

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

* Insert the time period after which passwords should expire, for the given roles. * *

Parameters

array $values: * An array of data to be inserted. Each element of the array should be an array that * contains the following values: * - rid: The Role ID of the role being inserted * - expiry: The number of seconds after which the password should expire * - weight: The priority of the expiry in relation to other roles

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

File

src/Service/ForcePasswordChangeServiceInterface.php, line 74

Class

ForcePasswordChangeServiceInterface

Namespace

Drupal\force_password_change\Service

Code

public function insertExpiryForRoles($values);