function theme_panels_layout_icon in Panels 8.3
Same name and namespace in other branches
- 5.2 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 @todo move to theme.inc
Related topics
1 theme call to theme_panels_layout_icon()
File
- ./
panels.module, line 887 - panels.module
Code
function theme_panels_layout_icon($vars) {
$id = $vars['id'];
$image = $vars['image'];
$title = $vars['title'];
$output = '<div class="layout-icon">';
$output .= $image;
if ($title) {
$output .= '<div class="caption">' . $title . '</div>';
}
$output .= '</div>';
return $output;
}