function devel_create_para

Same name in other branches
  1. 6.x-1.x 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;
}