function template_preprocess_views_slideshow_controls_text in Views Slideshow 7.3
Same name and namespace in other branches
- 8.4 views_slideshow.theme.inc \template_preprocess_views_slideshow_controls_text()
- 8.3 views_slideshow.theme.inc \template_preprocess_views_slideshow_controls_text()
- 6.3 views_slideshow.module \template_preprocess_views_slideshow_controls_text()
The slideshow controls.
Parameters
array $vars: Theme variables.
Related topics
1 call to template_preprocess_views_slideshow_controls_text()
- _views_slideshow_preprocess_views_slideshow_controls_text in theme/
views_slideshow.theme.inc - Backwards compatibility wrapper.
File
- theme/
views_slideshow.theme.inc, line 394 - The theme system, which controls the output of views slideshow.
Code
function template_preprocess_views_slideshow_controls_text(&$vars) {
$module_path = drupal_get_path('module', 'views_slideshow');
drupal_add_css($module_path . '/views_slideshow_controls_text.css', array(
'type' => 'file',
));
$vars['classes_array'][] = 'views_slideshow_controls_text';
$vars['rendered_control_previous'] = theme(views_theme_functions('views_slideshow_controls_text_previous', $vars['view'], $vars['view']->display[$vars['view']->current_display]), array(
'vss_id' => $vars['vss_id'],
'view' => $vars['view'],
'settings' => $vars['settings'],
));
$vars['rendered_control_pause'] = theme(views_theme_functions('views_slideshow_controls_text_pause', $vars['view'], $vars['view']->display[$vars['view']->current_display]), array(
'vss_id' => $vars['vss_id'],
'view' => $vars['view'],
'settings' => $vars['settings'],
));
$vars['rendered_control_next'] = theme(views_theme_functions('views_slideshow_controls_text_next', $vars['view'], $vars['view']->display[$vars['view']->current_display]), array(
'vss_id' => $vars['vss_id'],
'view' => $vars['view'],
'settings' => $vars['settings'],
));
}