Same name in other branches
- 7.x-3.x theme/views_slideshow.theme.inc \template_preprocess_views_slideshow_controls_text()
- 8.x-3.x views_slideshow.theme.inc \template_preprocess_views_slideshow_controls_text()
- 8.x-4.x views_slideshow.theme.inc \template_preprocess_views_slideshow_controls_text()
The slideshow controls.
Sujets associés
Fichier
-
./
views_slideshow.theme.inc, line 340
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'],
];
}