Same name in other branches
  1. 7.x-3.x theme/views_slideshow.theme.inc \template_preprocess_views_slideshow_controls_text_pause()
  2. 8.x-3.x views_slideshow.theme.inc \template_preprocess_views_slideshow_controls_text_pause()
  3. 8.x-4.x views_slideshow.theme.inc \template_preprocess_views_slideshow_controls_text_pause()

Views Slideshow: "pause" control.

Sujets associés

Fichier

./views_slideshow.theme.inc, line 377

Code

function template_preprocess_views_slideshow_controls_text_pause(&$vars) {
    $vars['attributes']['class'][] = 'views_slideshow_controls_text_pause  views-slideshow-controls-text-status-play';
    $vars['start_text'] = t('Pause');
}