You are here

function template_preprocess_views_slideshow_slide_counter in Views Slideshow 7.3

Same name and namespace in other branches
  1. 8.4 views_slideshow.theme.inc \template_preprocess_views_slideshow_slide_counter()
  2. 8.3 views_slideshow.theme.inc \template_preprocess_views_slideshow_slide_counter()
  3. 6.3 views_slideshow.module \template_preprocess_views_slideshow_slide_counter()

Views Slideshow: slide counter.

Parameters

array $vars: Theme variables.

Related topics

1 call to template_preprocess_views_slideshow_slide_counter()
_views_slideshow_preprocess_views_slideshow_slide_counter in theme/views_slideshow.theme.inc
Backwards compatibility wrapper.

File

theme/views_slideshow.theme.inc, line 475
The theme system, which controls the output of views slideshow.

Code

function template_preprocess_views_slideshow_slide_counter(&$vars) {
  $vars['classes_array'][] = 'views_slideshow_slide_counter';
  $vars['slide_count'] = count($vars['rows']);
}