You are here

function _jquery_carousel_preprocess_jquery_carousel in jQuery carousel 7

Preprocessor for jquery carousel view style plugin.

1 call to _jquery_carousel_preprocess_jquery_carousel()
template_preprocess_jquery_carousel in ./jquery_carousel.module
Template preprocessor for jquery carousel views style plugin.

File

views/theme/jquery_carousel.theme.inc, line 10
Theme & preprocess functions for the jQuery Carousel module.

Code

function _jquery_carousel_preprocess_jquery_carousel(&$vars) {
  _jquery_carousel_settings_format($vars['options']);
  _jquery_carousel_include_css_js($vars['options']);
  $vars['selector_class'] = drupal_attributes(array(
    'class' => array(
      $vars['options']['selector'],
    ),
  ));
}