function template_preprocess_views_slideshow_controls_text in Views Slideshow 8.4
Same name and namespace in other branches
- 8.3 views_slideshow.theme.inc \template_preprocess_views_slideshow_controls_text()
- 6.3 views_slideshow.module \template_preprocess_views_slideshow_controls_text()
- 7.3 theme/views_slideshow.theme.inc \template_preprocess_views_slideshow_controls_text()
The slideshow controls.
Related topics
File
- ./
views_slideshow.theme.inc, line 340 - The theme system, which controls the output of views slideshow.
Code
function template_preprocess_views_slideshow_controls_text(&$vars) {
$vars['#attached']['library'][] = 'views_slideshow/controls_text';
$vars['attributes']['class'][] = 'views_slideshow_controls_text';
$vars['rendered_control_previous'] = [
'#theme' => $vars['view']
->buildThemeFunctions('views_slideshow_controls_text_previous'),
'#vss_id' => $vars['vss_id'],
'#view' => $vars['view'],
'#settings' => $vars['settings'],
];
$vars['rendered_control_pause'] = [
'#theme' => $vars['view']
->buildThemeFunctions('views_slideshow_controls_text_pause'),
'#vss_id' => $vars['vss_id'],
'#view' => $vars['view'],
'#settings' => $vars['settings'],
];
$vars['rendered_control_next'] = [
'#theme' => $vars['view']
->buildThemeFunctions('views_slideshow_controls_text_next'),
'#vss_id' => $vars['vss_id'],
'#view' => $vars['view'],
'#settings' => $vars['settings'],
];
}