You are here

function devel_create_content in Devel 7

Same name and namespace in other branches
  1. 5 devel_generate.inc \devel_create_content()
  2. 6 devel_generate.inc \devel_create_content()
1 call to devel_create_content()
_text_devel_generate in devel_generate/text.devel_generate.inc

File

devel_generate/devel_generate.inc, line 481

Code

function devel_create_content() {
  $nparas = mt_rand(1, 12);
  $output = '';
  for ($i = 1; $i <= $nparas; $i++) {
    $output .= devel_create_para(mt_rand(10, 60)) . "\n\n";
  }
  return $output;
}