public function ForcePasswordChangeMapper::getRoleExpiryTimePeriods in Force Password Change 8
Same name and namespace in other branches
- 2.0.x src/Mapper/ForcePasswordChangeMapper.php \Drupal\force_password_change\Mapper\ForcePasswordChangeMapper::getRoleExpiryTimePeriods()
*
Overrides ForcePasswordChangeMapperInterface::getRoleExpiryTimePeriods
File
- src/
Mapper/ ForcePasswordChangeMapper.php, line 182
Class
Namespace
Drupal\force_password_change\MapperCode
public function getRoleExpiryTimePeriods() {
return $this->connection
->query('SELECT rid, expiry, weight from {force_password_change_expiry} ORDER BY weight, rid')
->fetchAll();
}