public function ForcePasswordChangeService::getUserCountForRole in Force Password Change 8
Same name and namespace in other branches
- 2.0.x src/Service/ForcePasswordChangeService.php \Drupal\force_password_change\Service\ForcePasswordChangeService::getUserCountForRole()
*
Overrides ForcePasswordChangeServiceInterface::getUserCountForRole
File
- src/
Service/ ForcePasswordChangeService.php, line 174
Class
Namespace
Drupal\force_password_change\ServiceCode
public function getUserCountForRole($rid) {
$rid = $rid == 'authenticated' ? FALSE : $rid;
return $this->mapper
->getUserCountForRole($rid);
}