theme.inc in Views Bootstrap 7.2
Same filename in this branch
Same filename and directory in other branches
File
templates/table/theme.incView source
<?php
/**
* Implementation of template preprocess for the view.
*/
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;
}
}
Functions
Name![]() |
Description |
---|---|
template_preprocess_views_bootstrap_table_plugin_style | Implementation of template preprocess for the view. |