function template_preprocess_views_bootstrap_thumbnail_plugin_style in Views Bootstrap 7
Same name and namespace in other branches
- 7.3 templates/thumbnail/theme.inc \template_preprocess_views_bootstrap_thumbnail_plugin_style()
- 7.2 templates/thumbnail/theme.inc \template_preprocess_views_bootstrap_thumbnail_plugin_style()
Implementation of template preprocess for the view.
File
- templates/
thumbnail/ theme.inc, line 6
Code
function template_preprocess_views_bootstrap_thumbnail_plugin_style(&$vars) {
$vars['column_type'] = 'span' . $vars['view']->style_options['column_type'];
$vars['classes_array'][] = 'thumbnails';
}