public function User6::load_by_name

8.0.x User6.php public User6::load_by_name($name)
7.x User6.php public User6::load_by_name($name)

Attempt to load a user account.

Parameters

string $name:

Return value

mixed

Overrides UserVersion::load_by_name

File

lib/Drush/User/User6.php, line 18

Namespace

Drush\User

Class

User6

Code

public function load_by_name($name) {
  return user_load(array('name' => $name));
}