You are here

function devel_generate_content_form_submit in Devel 5

Same name and namespace in other branches
  1. 6 devel_generate.module \devel_generate_content_form_submit()
  2. 7 devel_generate/devel_generate.module \devel_generate_content_form_submit()

File

./devel_generate.module, line 138

Code

function devel_generate_content_form_submit($form_id, $form_values) {
  require_once 'devel_generate.inc';
  devel_generate_content($form_values['num_nodes'], $form_values['num_comments'], $form_values['title_length'], $form_values['kill_content'], array_filter($form_values['node_types']));
}