You are here

public function ForcePasswordChangeMapperInterface::getExpiryTimeFromRoles in Force Password Change 2.0.x

Same name and namespace in other branches
  1. 8 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 value

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
Retrieve the highest priority expiry time from.

File

src/Mapper/ForcePasswordChangeMapperInterface.php, line 41

Class

ForcePasswordChangeMapperInterface

Namespace

Drupal\force_password_change\Mapper

Code

public function getExpiryTimeFromRoles(array $rids);