function views_slideshow_views_slideshow_option_definition in Views Slideshow 6
Same name and namespace in other branches
- 8.3 views_slideshow.module \views_slideshow_views_slideshow_option_definition()
- 6.3 views_slideshow.module \views_slideshow_views_slideshow_option_definition()
- 7.3 views_slideshow.module \views_slideshow_views_slideshow_option_definition()
File
- ./
views_slideshow.views_slideshow.inc, line 17 - The default options available with Views Slideshow.
Code
function views_slideshow_views_slideshow_option_definition() {
$options['mode'] = array(
'default' => VIEWS_SLIDESHOW_DEFAULT_MODE,
);
$options['hover'] = array(
'default' => module_exists('hoverintent') ? 'hoverIntent' : 'hover',
);
$options['timer_delay'] = array(
'default' => VIEWS_SLIDESHOW_DEFAULT_TIMER_DELAY,
);
$options['sort'] = array(
'default' => VIEWS_SLIDESHOW_DEFAULT_SORT_ORDER,
);
$options['fade'] = array(
'default' => VIEWS_SLIDESHOW_DEFAULT_FADE,
);
$options['fade_speed'] = array(
'default' => VIEWS_SLIDESHOW_DEFAULT_FADE_SPEED,
);
$options['fade_value'] = array(
'default' => VIEWS_SLIDESHOW_DEFAULT_FADE_VALUE,
);
$options['hover_breakout'] = array(
'default' => VIEWS_SLIDESHOW_DEFAULT_HOVER_BREAKOUT,
);
$options['teasers_last'] = array(
'default' => VIEWS_SLIDESHOW_DEFAULT_TEASERS_LAST,
);
return $options;
}