Same name and namespace in other branches
- 8.x-3.x modules/views_slideshow_cycle/views_slideshow_cycle.module \views_slideshow_cycle_views_slideshow_option_definition()
Implements hook_views_slideshow_option_definition().
Fichier
-
contrib/
views_slideshow_cycle/ views_slideshow_cycle.views_slideshow.inc, line 39
Code
function views_slideshow_cycle_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,
),
'delay' => array(
'default' => 0,
),
'sync' => array(
'default' => 1,
),
'random' => array(
'default' => 0,
),
// Action.
'pause' => array(
'default' => 1,
),
'pause_on_click' => array(
'default' => 0,
),
'play_on_hover' => array(
'default' => 0,
),
'action_advanced' => array(
'default' => 0,
),
'start_paused' => array(
'default' => 0,
),
'remember_slide' => array(
'default' => 0,
),
'remember_slide_days' => array(
'default' => 1,
),
'pause_in_middle' => array(
'default' => 0,
),
'pause_when_hidden' => array(
'default' => 0,
),
'pause_when_hidden_type' => array(
'default' => 'full',
),
'amount_allowed_visible' => array(
'default' => '',
),
'nowrap' => array(
'default' => 0,
),
'pause_after_slideshow' => array(
'default' => 0,
),
'fixed_height' => array(
'default' => 1,
),
'items_per_slide' => array(
'default' => 1,
),
'wait_for_image_load' => array(
'default' => 1,
),
'wait_for_image_load_timeout' => array(
'default' => 3000,
),
// Internet Explorer Tweaks.
'cleartype' => array(
'default' => 'true',
),
'cleartypenobg' => array(
'default' => 'false',
),
// Advanced.
'advanced_options' => array(
'default' => '{}',
),
),
);
return $options;
}