You are here

function devel_generate_users_form_submit in Devel 7

Same name and namespace in other branches
  1. 5 devel_generate.module \devel_generate_users_form_submit()
  2. 6 devel_generate.module \devel_generate_users_form_submit()

FormAPI submission to generate users.

File

devel_generate/devel_generate.module, line 105

Code

function devel_generate_users_form_submit($form, &$form_state) {
  module_load_include('inc', 'devel_generate');
  $values = $form_state['values'];
  devel_create_users($values['num'], $values['kill_users'], $values['time_range'], $values['roles'], $values['pass']);
}