function hook_views_slideshow_option_definition in Views Slideshow 6.3
Same name and namespace in other branches
- 8.3 views_slideshow.api.inc \hook_views_slideshow_option_definition()
- 7.3 views_slideshow.api.php \hook_views_slideshow_option_definition()
Set default values for your form fields specified in hook_views_slideshow_type_form
Return value
Associative array of slideshow type name and options.
2 functions implement hook_views_slideshow_option_definition()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- views_slideshow_cycle_views_slideshow_option_definition in contrib/
views_slideshow_cycle/ views_slideshow_cycle.views_slideshow.inc - Implements hook_views_slideshow_option_definition().
- views_slideshow_views_slideshow_option_definition in ./
views_slideshow.module - Implements hook_views_slideshow_option_definition.
1 invocation of hook_views_slideshow_option_definition()
File
- ./
views_slideshow.api.php, line 64 - Hooks provided by Views Slideshow.
Code
function hook_views_slideshow_option_definition() {
$options['views_slideshow_cycle'] = array(
'contains' => array(
// Transition
'effect' => array(
'default' => 'fade',
),
'transition_advanced' => array(
'default' => 0,
),
'timeout' => array(
'default' => 5000,
),
'speed' => array(
'default' => 700,
),
//normal
'delay' => array(
'default' => 0,
),
'sync' => array(
'default' => 1,
),
'random' => array(
'default' => 0,
),
),
);
return $options;
}