You are here

function theme_panels_list_style_render_region in Panels 6.3

Same name and namespace in other branches
  1. 7.3 plugins/styles/list.inc \theme_panels_list_style_render_region()

Render callback.

File

plugins/styles/list.inc, line 22
Definition of the 'list' panel style.

Code

function theme_panels_list_style_render_region($display, $region_id, $panes, $settings) {
  $items = array();
  foreach ($panes as $pane_id => $item) {
    if (isset($item)) {
      $items[] = $item;
    }
  }
  if (empty($settings['list_type'])) {
    $settings['list_type'] = 'ul';
  }
  return theme('item_list', $items, NULL, $settings['list_type']);
}