You are here

function template_preprocess_views_bootstrap_carousel_plugin_rows in Views Bootstrap 7

Same name and namespace in other branches
  1. 7.3 templates/carousel/theme.inc \template_preprocess_views_bootstrap_carousel_plugin_rows()
  2. 7.2 templates/carousel/theme.inc \template_preprocess_views_bootstrap_carousel_plugin_rows()

Implementation of template preprocess for the view fields.

File

templates/carousel/theme.inc, line 13

Code

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']);
    }
  }
}