function template_preprocess_views_bootstrap_table_plugin_style in Views Bootstrap 7.2
Same name and namespace in other branches
- 7.3 templates/table/theme.inc \template_preprocess_views_bootstrap_table_plugin_style()
Implementation of template preprocess for the view.
File
- templates/
table/ theme.inc, line 6
Code
function template_preprocess_views_bootstrap_table_plugin_style(&$vars) {
template_preprocess_views_view_table($vars);
$vars['classes_array'][] = 'table';
foreach ($vars['options']['bootstrap_styles'] as $style) {
$vars['classes_array'][] = 'table-' . $style;
}
}