public function ForcePasswordChangeServiceInterface::getUserCountForRole in Force Password Change 2.0.x
Same name and namespace in other branches
- 8 src/Service/ForcePasswordChangeServiceInterface.php \Drupal\force_password_change\Service\ForcePasswordChangeServiceInterface::getUserCountForRole()
Get the number of users in the given role.
Parameters
string $rid: The Role for which the user count should be returned.
Return value
int The number of users in the role.
1 method overrides ForcePasswordChangeServiceInterface::getUserCountForRole()
- ForcePasswordChangeService::getUserCountForRole in src/
Service/ ForcePasswordChangeService.php - Get the number of users in the given role.
File
- src/
Service/ ForcePasswordChangeServiceInterface.php, line 101
Class
Namespace
Drupal\force_password_change\ServiceCode
public function getUserCountForRole($rid);