You are here

function theme_views_slideshow_main_section in Views Slideshow 6.2

Same name and namespace in other branches
  1. 5 views_slideshow.module \theme_views_slideshow_main_section()
  2. 6.3 theme/views_slideshow.theme.inc \theme_views_slideshow_main_section()
  3. 6 views_slideshow.theme.inc \theme_views_slideshow_main_section()
  4. 7.3 theme/views_slideshow.theme.inc \theme_views_slideshow_main_section()

The current element of the slideshow.

2 theme calls to theme_views_slideshow_main_section()
template_preprocess_views_slideshow_singleframe in contrib/views_slideshow_singleframe/views_slideshow_singleframe.theme.inc
Implements template_preprocess_hook_THEMENAME().
template_preprocess_views_slideshow_thumbnailhover in contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.theme.inc
Implements template_preprocess_hook_THEMENAME().

File

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

Code

function theme_views_slideshow_main_section($id, $hidden_elements, $plugin) {
  $attributes['id'] = "{$plugin}_main_{$id}";
  $attributes['class'] = "{$plugin}_main views_slideshow_main";
  $attributes = drupal_attributes($attributes);
  return "<div{$attributes}>{$hidden_elements}</div>";
}