function views_slideshow_xtra_views_slideshow_option_definition in Views Slideshow Xtra 7.2
Same name and namespace in other branches
- 6.3 views_slideshow_xtra.module \views_slideshow_xtra_views_slideshow_option_definition()
- 7.3 views_slideshow_xtra.module \views_slideshow_xtra_views_slideshow_option_definition()
- 7 views_slideshow_xtra.module \views_slideshow_xtra_views_slideshow_option_definition()
Implements hook_views_slideshow_option_definition().
File
- ./
views_slideshow_xtra.module, line 61 - This module creates a Views Slideshow widget for overlaying HTML elements on a slideshow.
Code
function views_slideshow_xtra_views_slideshow_option_definition() {
$locations = array(
'top',
'bottom',
);
// Defaults for the pager widget.
foreach ($locations as $location) {
$options['widgets']['contains'][$location]['contains']['views_slideshow_xtra']['contains']['fields'] = array();
$options['widgets']['contains'][$location]['contains']['views_slideshow_xtra']['contains']['display_delay'] = array(
'default' => 850,
);
$options['widgets']['contains'][$location]['contains']['views_slideshow_xtra']['contains']['display_delay_fade'] = array(
'default' => 0,
);
$options['widgets']['contains'][$location]['contains']['views_slideshow_xtra']['contains']['pause_after_mouse_move'] = array(
'default' => 2000,
);
}
return $options;
}