You are here

public function ForcePasswordChangeServiceInterface::getUserCountForRole in Force Password Change 2.0.x

Same name and namespace in other branches
  1. 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

ForcePasswordChangeServiceInterface

Namespace

Drupal\force_password_change\Service

Code

public function getUserCountForRole($rid);