public function UserSingleBase::id

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

Return an id from a Drupal user account.

Return value

int

1 call to UserSingleBase::id()
UserSingleBase::cancel in lib/Drush/User/UserSingleBase.php
Block a user and remove or reassign their content.
1 method overrides UserSingleBase::id()
UserSingle7::id in lib/Drush/User/UserSingle7.php
Return an id from a Drupal user account.

File

lib/Drush/User/UserSingleBase.php, line 130

Namespace

Drush\User

Class

UserSingleBase

Code

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