function drush_user_get_class

8.0.x user.drush.inc drush_user_get_class()
7.x user.drush.inc drush_user_get_class()
master user.drush.inc drush_user_get_class()

Get a version specific User class.

Return value

\Drush\User\UserVersion

See also

drush_get_class().

9 calls to drush_user_get_class()
DrupalBoot::bootstrap_drupal_login in lib/Drush/Boot/DrupalBoot.php
Log into the bootstrapped Drupal site with a specific username or user id.
drush_backend_batch_process in includes/batch.inc
Process a Drupal batch by spawning multiple Drush processes.
drush_core_runserver in commands/runserver/runserver.drush.inc
Callback for runserver command.
drush_user_create in commands/user/user.drush.inc
Creates a new user account.
drush_user_create_validate in commands/user/user.drush.inc

... See full list

File

commands/user/user.drush.inc, line 246
Drush User Management commands

Code

function drush_user_get_class() {
  return drush_get_class('Drush\User\User');
}