You are here

public function ForcePasswordChangeMapper::getRoleExpiryTimePeriods in Force Password Change 8

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

ForcePasswordChangeMapper

Namespace

Drupal\force_password_change\Mapper

Code

public function getRoleExpiryTimePeriods() {
  return $this->connection
    ->query('SELECT rid, expiry, weight from {force_password_change_expiry} ORDER BY weight, rid')
    ->fetchAll();
}