You are here

public function ForcePasswordChangeMapperInterface::getUserCountForRole in Force Password Change 8

Same name and namespace in other branches
  1. 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()
ForcePasswordChangeMapper::getUserCountForRole in src/Mapper/ForcePasswordChangeMapper.php
*

File

src/Mapper/ForcePasswordChangeMapperInterface.php, line 99

Class

ForcePasswordChangeMapperInterface

Namespace

Drupal\force_password_change\Mapper

Code

public function getUserCountForRole($rid = FALSE);