function DevelGenerateCommands::users
Same name in this branch
- 5.x devel_generate/src/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Commands\DevelGenerateCommands::users()
Same name in other branches
- 4.x devel_generate/src/Commands/DevelGenerateCommands.php \Drupal\devel_generate\Commands\DevelGenerateCommands::users()
Create users.
File
-
devel_generate/
src/ Drush/ Commands/ DevelGenerateCommands.php, line 122
Class
- DevelGenerateCommands
- Provide Drush commands for all the core Devel Generate plugins.
Namespace
Drupal\devel_generate\Drush\CommandsCode
public function users(int $num = 50, array $options = [
'kill' => FALSE,
'roles' => self::REQ,
]) : void {
// @todo pass $options to the plugins.
$this->generate();
}