You are here

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

* Retrieve the highest priority expiry time from * *

Parameters

array $rids: * An array of Role Ids (strings) of roles whose expiry time periods should be checked * * @return bool|int * The number of seconds of the role with the highest priority after which a users password * should expire. FALSE if no expiry time was found.

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

File

src/Mapper/ForcePasswordChangeMapperInterface.php, line 39

Class

ForcePasswordChangeMapperInterface

Namespace

Drupal\force_password_change\Mapper

Code

public function getExpiryTimeFromRoles(array $rids);