public function UserSingle7::id

8.0.x UserSingle7.php public UserSingle7::id()
7.x UserSingle7.php public UserSingle7::id()
master UserSingle7.php public UserSingle7::id()

Return an id from a Drupal user account.

Return value

int

Overrides UserSingleBase::id

File

lib/Drush/User/UserSingle7.php, line 52

Namespace

Drush\User

Class

UserSingle7

Code

public function id() {
  return $this->account->uid;
}