You are here

function devel_create_para in Devel 7

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

File

devel_generate/devel_generate.inc, line 491

Code

function devel_create_para($words, $type = 0) {
  $output = '';
  switch ($type) {
    case 1:
      $output .= "<p>" . devel_create_greeking($words) . "</p>";
      break;
    case 2:
      $output .= devel_create_greeking($words) . "<br />";
      break;
    default:
      $output .= devel_create_greeking($words);
  }
  return $output;
}