public function ForcePasswordChangeMapper::getActiveUserIds 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::getActiveUserIds()
*
Overrides ForcePasswordChangeMapperInterface::getActiveUserIds
File
- src/
Mapper/ ForcePasswordChangeMapper.php, line 31
Class
Namespace
Drupal\force_password_change\MapperCode
public function getActiveUserIds() {
return $this->connection
->query('SELECT uid FROM {users_field_data} WHERE status = :one', [
':one' => 1,
])
->fetchCol();
}