theme.inc in Views Bootstrap 7.3
Same filename in this branch
- 7.3 templates/accordion/theme.inc
- 7.3 templates/panel/theme.inc
- 7.3 templates/table/theme.inc
- 7.3 templates/tab/theme.inc
- 7.3 templates/dropdown/theme.inc
- 7.3 templates/grid/theme.inc
- 7.3 templates/media/theme.inc
- 7.3 templates/thumbnail/theme.inc
- 7.3 templates/list_group/theme.inc
- 7.3 templates/carousel/theme.inc
Same filename and directory in other branches
Preprocessors and helper functions for theme theming.
File
templates/table/theme.incView source
<?php
/**
* @file
* Preprocessors and helper functions for theme theming.
*/
/**
* Implementation of template preprocess for the view.
*/
function template_preprocess_views_bootstrap_table_plugin_style(&$vars) {
template_preprocess_views_view_table($vars);
$vars['responsive'] = $vars['options']['responsive'];
$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. |