You are here

function views_slideshow_cycle_views_slideshow_option_definition in Views Slideshow 8.3

Same name and namespace in other branches
  1. 6.3 contrib/views_slideshow_cycle/views_slideshow_cycle.views_slideshow.inc \views_slideshow_cycle_views_slideshow_option_definition()
  2. 7.3 contrib/views_slideshow_cycle/views_slideshow_cycle.views_slideshow.inc \views_slideshow_cycle_views_slideshow_option_definition()

Implements hook_views_slideshow_option_definition().

File

modules/views_slideshow_cycle/views_slideshow_cycle.module, line 60
Views Slideshow: cycle is typically used for field views.

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,
      ),
      '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,
      ),
      '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;
}