You are here

function theme_panels_block_style_render_pane in Panels 6.2

Same name and namespace in other branches
  1. 5.2 styles/block.inc \theme_panels_block_style_render_pane()
  2. 6.3 plugins/styles/block.inc \theme_panels_block_style_render_pane()
  3. 7.3 plugins/styles/block.inc \theme_panels_block_style_render_pane()

Render callback.

File

styles/block.inc, line 32
styles/block.inc Definition of the 'default' panel style.

Code

function theme_panels_block_style_render_pane($content, $pane, $display) {
  if (!empty($content->title)) {
    $content->subject = $content->title;
  }
  return theme('block', $content);
}