You are here

function panels_print_layout_icon in Panels 6.2

Same name and namespace in other branches
  1. 8.3 panels.module \panels_print_layout_icon()
  2. 5.2 panels.module \panels_print_layout_icon()
  3. 6.3 panels.module \panels_print_layout_icon()
  4. 7.3 panels.module \panels_print_layout_icon()

Related topics

6 calls to panels_print_layout_icon()
panels_change_layout in includes/display-layout.inc
Form definition for the display layout converter.
panels_choose_layout in includes/display-layout.inc
Form definition for the display layout editor.
panels_common_get_layout_information in includes/common.inc
The layout information fieldset displayed at admin/edit/panel-%implementation%/add/%layout%.
panels_common_set_allowed_layouts in includes/common.inc
panels_mini_edit_form in panels_mini/panels_mini.admin.inc
Form to edit the settings of a mini panel.

... See full list

File

./panels.module, line 884
panels.module

Code

function panels_print_layout_icon($id, $layout, $title = NULL) {
  drupal_add_css(panels_get_path('css/panels_admin.css'));
  $file = $layout['path'] . '/' . $layout['icon'];
  return theme('panels_layout_icon', $id, theme('image', $file), $title);
}