class UserSingle6

  1. 8.0.x lib/Drush/User/UserSingle6.php UserSingle6
  2. 7.x lib/Drush/User/UserSingle6.php UserSingle6

Namespace

Drush\User

Hierarchy

Expanded class hierarchy of UserSingle6

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
UserSingle6::cancel public function Block a user and remove or reassign their content. Overrides UserSingleBase::cancel
UserSingle7::addRole public function Add a role to the current user. Overrides UserSingleBase::addRole
UserSingle7::block public function Block a user from login. Overrides UserSingleBase::block
UserSingle7::getUsername public function Get a user's name. Overrides UserSingleBase::getUsername
UserSingle7::id public function Return an id from a Drupal user account. Overrides UserSingleBase::id
UserSingle7::info function A flatter and simpler array presentation of a Drupal $user object. Overrides UserSingleBase::info
UserSingle7::passResetUrl public function Build a one time login link. Overrides UserSingleBase::passResetUrl
UserSingle7::password function Change a user's password. Overrides UserSingleBase::password
UserSingle7::removeRole public function Remove a role from the current user. Overrides UserSingleBase::removeRole
UserSingle7::unblock public function Unblock a user from login. Overrides UserSingleBase::unblock
UserSingleBase::$account public property
UserSingleBase::__construct public function

File

lib/Drush/User/UserSingle6.php, line 5

View source
class UserSingle6 extends UserSingle7 {

  public function cancel() {
    user_delete(array(), $this->account->uid);
  }
}