You are here

public function ForcePasswordChangeServiceInterface::getUserCountForRole in Force Password Change 8

Same name and namespace in other branches
  1. 2.0.x 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 int * The number of users in the role.

1 method overrides ForcePasswordChangeServiceInterface::getUserCountForRole()
ForcePasswordChangeService::getUserCountForRole in src/Service/ForcePasswordChangeService.php
*

File

src/Service/ForcePasswordChangeServiceInterface.php, line 97

Class

ForcePasswordChangeServiceInterface

Namespace

Drupal\force_password_change\Service

Code

public function getUserCountForRole($rid);