function ctools_stylizer_print_style_icon

Render the icon for a style base.

1 call to ctools_stylizer_print_style_icon()
ctools_stylizer_edit_style_form_choose in includes/stylizer.inc
Choose which plugin to use to create a new style.

File

includes/stylizer.inc, line 47

Code

function ctools_stylizer_print_style_icon($plugin, $print_title = TRUE) {
    $file = $plugin['path'] . '/' . $plugin['icon'];
    $title = $print_title ? $plugin['title'] : '';
    return theme('ctools_style_icon', array(
        'image' => theme('image', array(
            'path' => $file,
        )),
        'title' => $title,
    ));
}