You are here

function _jquery_carousel_formatter_defaults in jQuery carousel 7

Formatter settings form.

3 calls to _jquery_carousel_formatter_defaults()
jquery_carousel_field_formatter_info in ./jquery_carousel.module
Implements hook_field_formatter_info().
jquery_carousel_field_formatter_settings_form in ./jquery_carousel.module
Implements hook_field_formatter_settings_form().
jquery_carousel_field_formatter_view in ./jquery_carousel.module
Implements hook_field_formatter_view().

File

./jquery_carousel.module, line 56
Provide jquery carousel style plugin for views.

Code

function _jquery_carousel_formatter_defaults($settings = array()) {
  $settings += array(
    'theme' => 'default',
    'selector' => 'rs-carousel',
    'style_name' => 'thumbnail',
    'itemsPerTransition' => 'auto',
    'orientation' => 'horizontal',
    'loop' => FALSE,
    'whitespace' => FALSE,
    'nextPrevActions' => TRUE,
    'pagination' => FALSE,
    'speed' => 'normal',
    'easing' => 'swing',
    'autoScroll' => TRUE,
    'pause' => 8000,
    'continuous' => FALSE,
    'touch' => TRUE,
  );
  return $settings;
}