You are here

protected function ForcePasswordChangeService::userLoadMultiple in Force Password Change 8

Same name and namespace in other branches
  1. 2.0.x src/Service/ForcePasswordChangeService.php \Drupal\force_password_change\Service\ForcePasswordChangeService::userLoadMultiple()

* Helper function to load mulitple user objects. Spun out into a protected function * to allow for overriding in Unit Tests. * *

Parameters

array $uids: * The User IDs of the users to load. * * @return array * An array of fully loaded user objects.

3 calls to ForcePasswordChangeService::userLoadMultiple()
ForcePasswordChangeService::getNonPendingUsersForRole in src/Service/ForcePasswordChangeService.php
*
ForcePasswordChangeService::getPendingUsersForRole in src/Service/ForcePasswordChangeService.php
*
ForcePasswordChangeService::getUsersForRole in src/Service/ForcePasswordChangeService.php
*
1 method overrides ForcePasswordChangeService::userLoadMultiple()
TestForcePasswordChangeService::userLoadMultiple in tests/src/Unit/Service/TestForcePasswordChangeService.php
* Helper function to load mulitple user objects. Spun out into a protected function * to allow for overriding in Unit Tests. * *

File

src/Service/ForcePasswordChangeService.php, line 324

Class

ForcePasswordChangeService

Namespace

Drupal\force_password_change\Service

Code

protected function userLoadMultiple(array $uids) {
  return user_load_multiple($uids);
}