public function UserVersion::load_by_uid

8.0.x UserVersion.php public UserVersion::load_by_uid($uid)
7.x UserVersion.php public UserVersion::load_by_uid($uid)
master UserVersion.php public UserVersion::load_by_uid($uid)

Attempt to load a user account.

Parameters

int $uid:

Return value

mixed

1 method overrides UserVersion::load_by_uid()
User8::load_by_uid in lib/Drush/User/User8.php
Attempt to load a user account.

File

lib/Drush/User/UserVersion.php, line 23

Namespace

Drush\User

Class

UserVersion

Code

public function load_by_uid($uid) {
  return user_load($uid);
}