function theme_panels_layout_icon in Panels 5.2
Same name and namespace in other branches
- 8.3 panels.module \theme_panels_layout_icon()
- 6.3 panels.module \theme_panels_layout_icon()
- 6.2 panels.module \theme_panels_layout_icon()
- 7.3 panels.module \theme_panels_layout_icon()
Theme the layout icon image @layout
1 theme call to theme_panels_layout_icon()
File
- ./
panels.module, line 1233 - panels.module Core API for Panels. Provides display editing and rendering capabilities.
Code
function theme_panels_layout_icon($id, $image, $title = NULL) {
$output .= '<span class="layout-icon">';
$output .= $image;
if ($title) {
$output .= '<span class="caption">' . $title . '</span>';
}
$output .= '</span>';
return $output;
}