You are here

function panels_print_layout_icon in Panels 6.3

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.2 panels.module \panels_print_layout_icon()
  4. 7.3 panels.module \panels_print_layout_icon()

Related topics

3 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_allowed_layouts_form in includes/common.inc
The FAPI code for generating an 'allowed layouts' selection form.

File

./panels.module, line 1046
panels.module

Code

function panels_print_layout_icon($id, $layout, $title = NULL) {
  ctools_add_css('panels_admin', 'panels');
  $file = $layout['path'] . '/' . $layout['icon'];
  return theme('panels_layout_icon', $id, theme('image', $file, strip_tags($layout['title']), strip_tags($layout['description'])), $title);
}