theme.inc in Views Bootstrap 7
Same filename in this branch
Same filename and directory in other branches
File
templates/carousel/theme.incView source
<?php
/**
* Implementation of template preprocess for the view.
*/
function template_preprocess_views_bootstrap_carousel_plugin_style(&$vars) {
//--
}
/**
* Implementation of template preprocess for the view fields.
*/
function template_preprocess_views_bootstrap_carousel_plugin_rows(&$vars) {
$view =& $vars['view'];
foreach ($vars['options'] as $id => $field) {
if ($field) {
$vars[$id] = $view->field[$field]
->theme($vars['row']);
}
}
}
Functions
Name | Description |
---|---|
template_preprocess_views_bootstrap_carousel_plugin_rows | Implementation of template preprocess for the view fields. |
template_preprocess_views_bootstrap_carousel_plugin_style | Implementation of template preprocess for the view. |