You are here

public function ForcePasswordChangeMapper::getActiveUserIds 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::getActiveUserIds()

*

Overrides ForcePasswordChangeMapperInterface::getActiveUserIds

File

src/Mapper/ForcePasswordChangeMapper.php, line 31

Class

ForcePasswordChangeMapper

Namespace

Drupal\force_password_change\Mapper

Code

public function getActiveUserIds() {
  return $this->connection
    ->query('SELECT uid FROM {users_field_data} WHERE status = :one', [
    ':one' => 1,
  ])
    ->fetchCol();
}