function content_render_block
Search API
| 7.x content.module | content_render_block($delta) | 
        
| 6.x content.module | content_render_block($delta) | 
        
| 4.x content.module | content_render_block($delta) | 
        
| 5.x content.module | content_render_block($delta) | 
        
Called when it is time to render the block in question. Expected to return an array which looks like this: array( "title" => "Some title goes here.", "body" => "this is the primary body of the block", );
File
- modules/
content/ content.module, line 744  
Code
function content_render_block($delta) {
  $rtn = array();
  if ($delta == "primary") {
    fp_add_css(fp_get_module_path("content") . "/css/content.css");
    $rtn ["title"] = t("content");
    $rtn ["body"] = content_render_content();
  }
  return $rtn;
}
  