public function User8::create

8.0.x User8.php public User8::create($properties)
7.x User8.php public User8::create($properties)
master User8.php public User8::create($properties)

{inheritdoc}

Overrides UserVersion::create

File

lib/Drush/User/User8.php, line 13

Namespace

Drush\User

Class

User8

Code

public function create($properties) {
  $account = entity_create('user', $properties);
  $account->save();
  return new UserSingle8($account);
}