function panels_print_layout_icon in Panels 5.2
Same name and namespace in other branches
- 8.3 panels.module \panels_print_layout_icon()
- 6.3 panels.module \panels_print_layout_icon()
- 6.2 panels.module \panels_print_layout_icon()
- 7.3 panels.module \panels_print_layout_icon()
6 calls to panels_print_layout_icon()
- panels_change_layout in includes/
display_edit.inc - Form definition for the display layout converter.
- panels_choose_layout in includes/
display_edit.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.module - Form to edit the settings of a mini panel.
File
- ./
panels.module, line 1211 - panels.module Core API for Panels. Provides display editing and rendering capabilities.
Code
function panels_print_layout_icon($id, $layout, $title = NULL) {
drupal_add_css(panels_get_path('css/panels_admin.css'));
$file = panels_get_path($layout['icon'], false, $layout['module']);
return theme('panels_layout_icon', $id, theme('image', $file), $title);
}