public function ForcePasswordChangeMapperInterface::getUserCountForRole in Force Password Change 8
Same name and namespace in other branches
- 2.0.x src/Mapper/ForcePasswordChangeMapperInterface.php \Drupal\force_password_change\Mapper\ForcePasswordChangeMapperInterface::getUserCountForRole()
* Retrieve the number of users in the given role * *
Parameters
boolean|string $rid: * The Role ID of the role for which the count should be retrieved. Set to FALSE to * retrieve the count for all authenticated users in the system. * * @return int * The number of users in the given role.
1 method overrides ForcePasswordChangeMapperInterface::getUserCountForRole()
File
- src/
Mapper/ ForcePasswordChangeMapperInterface.php, line 99
Class
Namespace
Drupal\force_password_change\MapperCode
public function getUserCountForRole($rid = FALSE);