You are here

slick_example.slick_default_preset.inc in Slick extras 7.2

Bulk export of slick_default_preset objects generated by Bulk export module.

Contains: 3d back, Blog, Carousel, Fullscreen, Grid, Main, Slick for, Slick nav.

File

slick_example/slick_example.slick_default_preset.inc
View source
<?php

/**
 * @file
 * Bulk export of slick_default_preset objects generated by Bulk export module.
 *
 * Contains:
 * 3d back, Blog, Carousel, Fullscreen, Grid, Main, Slick for, Slick nav.
 */

/**
 * Implements hook_slick_default_presets().
 */
function slick_example_slick_default_presets() {
  $presets = array();
  $preset = new stdClass();
  $preset->disabled = FALSE;

  /* Edit this to true to make a default preset disabled initially */
  $preset->api_version = 1;
  $preset->name = 'x_3d_back';
  $preset->label = 'X Main 3d back';
  $preset->breakpoints = 2;
  $preset->skin = '3d-back';
  $preset->options = array(
    'general' => array(
      'normal' => 'slick_600x460',
      'thumbnail' => '',
      'template_class' => '',
      'goodies' => array(
        'pattern' => 'pattern',
        'arrow-down' => 0,
        'random' => 0,
      ),
      'arrow_down_target' => '',
      'arrow_down_offset' => '',
    ),
    'settings' => array(
      'mobileFirst' => FALSE,
      'asNavFor' => '',
      'accessibility' => TRUE,
      'adaptiveHeight' => FALSE,
      'autoplay' => FALSE,
      'autoplaySpeed' => 3000,
      'pauseOnHover' => TRUE,
      'pauseOnDotsHover' => FALSE,
      'arrows' => TRUE,
      'prevArrow' => '<button type="button" data-role="none" class="slick-prev">Previous</button>',
      'nextArrow' => '<button type="button" data-role="none" class="slick-next">Next</button>',
      'centerMode' => TRUE,
      'centerPadding' => '50px',
      'dots' => TRUE,
      'dotsClass' => 'slick-dots',
      'appendDots' => '$(element)',
      'draggable' => TRUE,
      'fade' => FALSE,
      'focusOnSelect' => FALSE,
      'infinite' => TRUE,
      'initialSlide' => 2,
      'lazyLoad' => 'progressive',
      'respondTo' => 'window',
      'rtl' => FALSE,
      'rows' => 1,
      'slidesPerRow' => 1,
      'slide' => '',
      'slidesToShow' => 3,
      'slidesToScroll' => 1,
      'speed' => 500,
      'swipe' => TRUE,
      'swipeToSlide' => FALSE,
      'edgeFriction' => 0.35,
      'touchMove' => TRUE,
      'touchThreshold' => 5,
      'useCSS' => TRUE,
      'cssEase' => 'ease',
      'cssEaseBezier' => 'cubic-bezier(0.470, 0.000, 0.745, 0.715)',
      'cssEaseOverride' => 'easeInSine',
      'useTransform' => TRUE,
      'easing' => 'linear',
      'variableWidth' => FALSE,
      'vertical' => FALSE,
      'verticalSwiping' => FALSE,
      'waitForAnimate' => TRUE,
    ),
    'responsives' => array(
      'responsive' => array(
        0 => array(
          'breakpoint' => 900,
          'unslick' => FALSE,
          'settings' => array(
            'accessibility' => TRUE,
            'adaptiveHeight' => FALSE,
            'autoplay' => FALSE,
            'autoplaySpeed' => 3000,
            'pauseOnHover' => TRUE,
            'pauseOnDotsHover' => FALSE,
            'arrows' => TRUE,
            'centerMode' => TRUE,
            'centerPadding' => '50px',
            'dots' => TRUE,
            'draggable' => TRUE,
            'fade' => FALSE,
            'focusOnSelect' => FALSE,
            'infinite' => TRUE,
            'initialSlide' => 0,
            'rows' => 1,
            'slidesPerRow' => 1,
            'slidesToShow' => 1,
            'slidesToScroll' => 1,
            'speed' => 500,
            'swipe' => TRUE,
            'swipeToSlide' => FALSE,
            'edgeFriction' => 0.35,
            'touchMove' => TRUE,
            'touchThreshold' => 5,
            'useCSS' => TRUE,
            'cssEase' => 'ease',
            'cssEaseBezier' => '',
            'cssEaseOverride' => '',
            'useTransform' => TRUE,
            'easing' => 'linear',
            'variableWidth' => FALSE,
            'vertical' => FALSE,
            'verticalSwiping' => FALSE,
            'waitForAnimate' => TRUE,
          ),
        ),
        1 => array(
          'breakpoint' => 480,
          'unslick' => FALSE,
          'settings' => array(
            'accessibility' => TRUE,
            'adaptiveHeight' => FALSE,
            'autoplay' => FALSE,
            'autoplaySpeed' => 3000,
            'pauseOnHover' => TRUE,
            'pauseOnDotsHover' => FALSE,
            'arrows' => TRUE,
            'centerMode' => TRUE,
            'centerPadding' => '50px',
            'dots' => TRUE,
            'draggable' => TRUE,
            'fade' => FALSE,
            'focusOnSelect' => FALSE,
            'infinite' => TRUE,
            'initialSlide' => 0,
            'rows' => 1,
            'slidesPerRow' => 1,
            'slidesToShow' => 1,
            'slidesToScroll' => 1,
            'speed' => 500,
            'swipe' => TRUE,
            'swipeToSlide' => FALSE,
            'edgeFriction' => 0.35,
            'touchMove' => TRUE,
            'touchThreshold' => 5,
            'useCSS' => TRUE,
            'cssEase' => 'ease',
            'cssEaseBezier' => '',
            'cssEaseOverride' => '',
            'useTransform' => TRUE,
            'easing' => 'linear',
            'variableWidth' => FALSE,
            'vertical' => FALSE,
            'verticalSwiping' => FALSE,
            'waitForAnimate' => TRUE,
          ),
        ),
      ),
    ),
  );
  $presets['x_3d_back'] = $preset;
  $preset = new stdClass();
  $preset->disabled = FALSE;

  /* Edit this to true to make a default preset disabled initially */
  $preset->api_version = 1;
  $preset->name = 'x_blog';
  $preset->label = 'X Main Blog';
  $preset->breakpoints = 0;
  $preset->skin = 'default';
  $preset->options = array(
    'general' => array(
      'normal' => 'slick_600x460',
      'thumbnail' => '',
      'template_class' => '',
      'goodies' => array(
        'arrow-down' => 0,
        'pattern' => 0,
        'random' => 0,
      ),
      'arrow_down_target' => '',
      'arrow_down_offset' => '',
    ),
    'settings' => array(
      'mobileFirst' => FALSE,
      'asNavFor' => '',
      'accessibility' => TRUE,
      'adaptiveHeight' => FALSE,
      'autoplay' => FALSE,
      'autoplaySpeed' => 3000,
      'pauseOnHover' => TRUE,
      'pauseOnDotsHover' => FALSE,
      'arrows' => TRUE,
      'prevArrow' => '<button type="button" data-role="none" class="slick-prev">Previous</button>',
      'nextArrow' => '<button type="button" data-role="none" class="slick-next">Next</button>',
      'centerMode' => FALSE,
      'centerPadding' => '50px',
      'dots' => TRUE,
      'dotsClass' => 'slick-dots',
      'appendDots' => '$(element)',
      'draggable' => TRUE,
      'fade' => FALSE,
      'focusOnSelect' => FALSE,
      'infinite' => TRUE,
      'initialSlide' => 0,
      'lazyLoad' => 'progressive',
      'respondTo' => 'window',
      'rtl' => FALSE,
      'rows' => 1,
      'slidesPerRow' => 1,
      'slide' => '',
      'slidesToShow' => 1,
      'slidesToScroll' => 1,
      'speed' => 500,
      'swipe' => TRUE,
      'swipeToSlide' => FALSE,
      'edgeFriction' => 0.35,
      'touchMove' => TRUE,
      'touchThreshold' => 5,
      'useCSS' => TRUE,
      'cssEase' => 'ease',
      'cssEaseBezier' => '',
      'cssEaseOverride' => '',
      'useTransform' => TRUE,
      'easing' => 'linear',
      'variableWidth' => FALSE,
      'vertical' => FALSE,
      'verticalSwiping' => FALSE,
      'waitForAnimate' => TRUE,
    ),
  );
  $presets['x_blog'] = $preset;
  $preset = new stdClass();
  $preset->disabled = FALSE;

  /* Edit this to true to make a default preset disabled initially */
  $preset->api_version = 1;
  $preset->name = 'x_carousel';
  $preset->label = 'X Main Carousel';
  $preset->breakpoints = 4;
  $preset->skin = 'default';
  $preset->options = array(
    'general' => array(
      'normal' => 'slick_600',
      'thumbnail' => '',
      'template_class' => '',
      'goodies' => array(
        'arrow-down' => 0,
        'pattern' => 0,
        'random' => 0,
      ),
      'arrow_down_target' => '',
      'arrow_down_offset' => '',
    ),
    'settings' => array(
      'mobileFirst' => FALSE,
      'asNavFor' => '',
      'accessibility' => TRUE,
      'adaptiveHeight' => FALSE,
      'autoplay' => FALSE,
      'autoplaySpeed' => 3000,
      'pauseOnHover' => TRUE,
      'pauseOnDotsHover' => FALSE,
      'arrows' => TRUE,
      'prevArrow' => '<button type="button" data-role="none" class="slick-prev">Previous</button>',
      'nextArrow' => '<button type="button" data-role="none" class="slick-next">Next</button>',
      'centerMode' => TRUE,
      'centerPadding' => '200px',
      'dots' => TRUE,
      'dotsClass' => 'slick-dots',
      'appendDots' => '$(element)',
      'draggable' => TRUE,
      'fade' => FALSE,
      'focusOnSelect' => TRUE,
      'infinite' => TRUE,
      'initialSlide' => 0,
      'lazyLoad' => 'progressive',
      'respondTo' => 'window',
      'rtl' => FALSE,
      'rows' => 1,
      'slidesPerRow' => 1,
      'slide' => '',
      'slidesToShow' => 3,
      'slidesToScroll' => 1,
      'speed' => 500,
      'swipe' => TRUE,
      'swipeToSlide' => FALSE,
      'edgeFriction' => 0.35,
      'touchMove' => TRUE,
      'touchThreshold' => 5,
      'useCSS' => TRUE,
      'cssEase' => 'ease',
      'cssEaseBezier' => '',
      'cssEaseOverride' => '',
      'useTransform' => TRUE,
      'easing' => 'linear',
      'variableWidth' => FALSE,
      'vertical' => FALSE,
      'verticalSwiping' => FALSE,
      'waitForAnimate' => TRUE,
    ),
    'responsives' => array(
      'responsive' => array(
        0 => array(
          'breakpoint' => 1100,
          'unslick' => FALSE,
          'settings' => array(
            'accessibility' => TRUE,
            'adaptiveHeight' => FALSE,
            'autoplay' => FALSE,
            'autoplaySpeed' => 3000,
            'pauseOnHover' => TRUE,
            'pauseOnDotsHover' => FALSE,
            'arrows' => TRUE,
            'centerMode' => TRUE,
            'centerPadding' => '150px',
            'dots' => FALSE,
            'draggable' => TRUE,
            'fade' => FALSE,
            'focusOnSelect' => FALSE,
            'infinite' => TRUE,
            'initialSlide' => 0,
            'rows' => 1,
            'slidesPerRow' => 1,
            'slidesToShow' => 1,
            'slidesToScroll' => 1,
            'speed' => 500,
            'swipe' => TRUE,
            'swipeToSlide' => FALSE,
            'edgeFriction' => 0.35,
            'touchMove' => TRUE,
            'touchThreshold' => 5,
            'useCSS' => TRUE,
            'cssEase' => 'ease',
            'cssEaseBezier' => '',
            'cssEaseOverride' => '',
            'useTransform' => TRUE,
            'easing' => 'linear',
            'variableWidth' => FALSE,
            'vertical' => FALSE,
            'verticalSwiping' => FALSE,
            'waitForAnimate' => TRUE,
          ),
        ),
        1 => array(
          'breakpoint' => 1000,
          'unslick' => FALSE,
          'settings' => array(
            'accessibility' => TRUE,
            'adaptiveHeight' => FALSE,
            'autoplay' => FALSE,
            'autoplaySpeed' => 3000,
            'pauseOnHover' => TRUE,
            'pauseOnDotsHover' => FALSE,
            'arrows' => TRUE,
            'centerMode' => TRUE,
            'centerPadding' => '100px',
            'dots' => FALSE,
            'draggable' => TRUE,
            'fade' => FALSE,
            'focusOnSelect' => FALSE,
            'infinite' => TRUE,
            'initialSlide' => 0,
            'rows' => 1,
            'slidesPerRow' => 1,
            'slidesToShow' => 1,
            'slidesToScroll' => 1,
            'speed' => 500,
            'swipe' => TRUE,
            'swipeToSlide' => FALSE,
            'edgeFriction' => 0.35,
            'touchMove' => TRUE,
            'touchThreshold' => 5,
            'useCSS' => TRUE,
            'cssEase' => 'ease',
            'cssEaseBezier' => '',
            'cssEaseOverride' => '',
            'useTransform' => TRUE,
            'easing' => 'linear',
            'variableWidth' => FALSE,
            'vertical' => FALSE,
            'verticalSwiping' => FALSE,
            'waitForAnimate' => TRUE,
          ),
        ),
        2 => array(
          'breakpoint' => 900,
          'unslick' => FALSE,
          'settings' => array(
            'accessibility' => TRUE,
            'adaptiveHeight' => FALSE,
            'autoplay' => FALSE,
            'autoplaySpeed' => 3000,
            'pauseOnHover' => TRUE,
            'pauseOnDotsHover' => FALSE,
            'arrows' => TRUE,
            'centerMode' => TRUE,
            'centerPadding' => '50px',
            'dots' => FALSE,
            'draggable' => TRUE,
            'fade' => FALSE,
            'focusOnSelect' => FALSE,
            'infinite' => TRUE,
            'initialSlide' => 0,
            'rows' => 1,
            'slidesPerRow' => 1,
            'slidesToShow' => 1,
            'slidesToScroll' => 1,
            'speed' => 500,
            'swipe' => TRUE,
            'swipeToSlide' => FALSE,
            'edgeFriction' => 0.35,
            'touchMove' => TRUE,
            'touchThreshold' => 5,
            'useCSS' => TRUE,
            'cssEase' => 'ease',
            'cssEaseBezier' => '',
            'cssEaseOverride' => '',
            'useTransform' => TRUE,
            'easing' => 'linear',
            'variableWidth' => FALSE,
            'vertical' => FALSE,
            'verticalSwiping' => FALSE,
            'waitForAnimate' => TRUE,
          ),
        ),
        3 => array(
          'breakpoint' => 800,
          'unslick' => FALSE,
          'settings' => array(
            'accessibility' => TRUE,
            'adaptiveHeight' => FALSE,
            'autoplay' => FALSE,
            'autoplaySpeed' => 3000,
            'pauseOnHover' => TRUE,
            'pauseOnDotsHover' => FALSE,
            'arrows' => TRUE,
            'centerMode' => FALSE,
            'centerPadding' => '50px',
            'dots' => FALSE,
            'draggable' => TRUE,
            'fade' => FALSE,
            'focusOnSelect' => FALSE,
            'infinite' => TRUE,
            'initialSlide' => 0,
            'rows' => 1,
            'slidesPerRow' => 1,
            'slidesToShow' => 1,
            'slidesToScroll' => 1,
            'speed' => 500,
            'swipe' => TRUE,
            'swipeToSlide' => FALSE,
            'edgeFriction' => 0.35,
            'touchMove' => TRUE,
            'touchThreshold' => 5,
            'useCSS' => TRUE,
            'cssEase' => 'ease',
            'cssEaseBezier' => '',
            'cssEaseOverride' => '',
            'useTransform' => TRUE,
            'easing' => 'linear',
            'variableWidth' => FALSE,
            'vertical' => FALSE,
            'verticalSwiping' => FALSE,
            'waitForAnimate' => TRUE,
          ),
        ),
      ),
    ),
  );
  $presets['x_carousel'] = $preset;
  $preset = new stdClass();
  $preset->disabled = FALSE;

  /* Edit this to true to make a default preset disabled initially */
  $preset->api_version = 1;
  $preset->name = 'x_fullscreen';
  $preset->label = 'X Main Fullscreen';
  $preset->breakpoints = 1;
  $preset->skin = 'fullscreen';
  $preset->options = array(
    'general' => array(
      'normal' => 'slick',
      'thumbnail' => '',
      'template_class' => '',
      'goodies' => array(
        'pattern' => 'pattern',
        'arrow-down' => 0,
        'random' => 0,
      ),
      'arrow_down_target' => '#main',
      'arrow_down_offset' => '125',
    ),
    'settings' => array(
      'mobileFirst' => FALSE,
      'asNavFor' => '',
      'accessibility' => TRUE,
      'adaptiveHeight' => FALSE,
      'autoplay' => FALSE,
      'autoplaySpeed' => 3000,
      'pauseOnHover' => TRUE,
      'pauseOnDotsHover' => FALSE,
      'arrows' => TRUE,
      'prevArrow' => '<button type="button" data-role="none" class="slick-prev">Previous</button>',
      'nextArrow' => '<button type="button" data-role="none" class="slick-next">Next</button>',
      'centerMode' => FALSE,
      'centerPadding' => '50px',
      'dots' => TRUE,
      'dotsClass' => 'slick-dots',
      'appendDots' => '$(element)',
      'draggable' => TRUE,
      'fade' => FALSE,
      'focusOnSelect' => FALSE,
      'infinite' => TRUE,
      'initialSlide' => 0,
      'lazyLoad' => 'progressive',
      'respondTo' => 'window',
      'rtl' => FALSE,
      'rows' => 1,
      'slidesPerRow' => 1,
      'slide' => '',
      'slidesToShow' => 1,
      'slidesToScroll' => 1,
      'speed' => 500,
      'swipe' => TRUE,
      'swipeToSlide' => TRUE,
      'edgeFriction' => 0.35,
      'touchMove' => TRUE,
      'touchThreshold' => 5,
      'useCSS' => TRUE,
      'cssEase' => 'ease',
      'cssEaseBezier' => '',
      'cssEaseOverride' => '',
      'useTransform' => TRUE,
      'easing' => 'linear',
      'variableWidth' => FALSE,
      'vertical' => FALSE,
      'verticalSwiping' => FALSE,
      'waitForAnimate' => TRUE,
    ),
    'responsives' => array(
      'responsive' => array(
        0 => array(
          'breakpoint' => 768,
          'unslick' => FALSE,
          'settings' => array(
            'accessibility' => TRUE,
            'adaptiveHeight' => FALSE,
            'autoplay' => FALSE,
            'autoplaySpeed' => 3000,
            'pauseOnHover' => TRUE,
            'pauseOnDotsHover' => FALSE,
            'arrows' => TRUE,
            'centerMode' => FALSE,
            'centerPadding' => '50px',
            'dots' => TRUE,
            'draggable' => TRUE,
            'fade' => FALSE,
            'focusOnSelect' => FALSE,
            'infinite' => TRUE,
            'initialSlide' => 0,
            'rows' => 1,
            'slidesPerRow' => 1,
            'slidesToShow' => 1,
            'slidesToScroll' => 1,
            'speed' => 500,
            'swipe' => TRUE,
            'swipeToSlide' => FALSE,
            'edgeFriction' => 0.35,
            'touchMove' => TRUE,
            'touchThreshold' => 5,
            'useCSS' => TRUE,
            'cssEase' => 'ease',
            'cssEaseBezier' => '',
            'cssEaseOverride' => '',
            'useTransform' => TRUE,
            'easing' => 'linear',
            'variableWidth' => FALSE,
            'vertical' => FALSE,
            'verticalSwiping' => FALSE,
            'waitForAnimate' => TRUE,
          ),
        ),
      ),
    ),
  );
  $presets['x_fullscreen'] = $preset;
  $preset = new stdClass();
  $preset->disabled = FALSE;

  /* Edit this to true to make a default preset disabled initially */
  $preset->api_version = 1;
  $preset->name = 'x_grid';
  $preset->label = 'X Main Grid';
  $preset->breakpoints = 0;
  $preset->skin = 'grid';
  $preset->options = array(
    'general' => array(
      'normal' => '',
      'thumbnail' => '',
      'template_class' => '',
      'goodies' => array(
        'arrow-down' => 0,
        'pattern' => 0,
        'random' => 0,
      ),
      'arrow_down_target' => '',
      'arrow_down_offset' => '',
    ),
    'settings' => array(
      'mobileFirst' => FALSE,
      'asNavFor' => '',
      'accessibility' => TRUE,
      'adaptiveHeight' => FALSE,
      'autoplay' => FALSE,
      'autoplaySpeed' => 3000,
      'pauseOnHover' => TRUE,
      'pauseOnDotsHover' => FALSE,
      'arrows' => TRUE,
      'prevArrow' => '<button type="button" data-role="none" class="slick-prev">Previous</button>',
      'nextArrow' => '<button type="button" data-role="none" class="slick-next">Next</button>',
      'centerMode' => FALSE,
      'centerPadding' => '50px',
      'dots' => TRUE,
      'dotsClass' => 'slick-dots',
      'appendDots' => '$(element)',
      'draggable' => TRUE,
      'fade' => FALSE,
      'focusOnSelect' => FALSE,
      'infinite' => FALSE,
      'initialSlide' => 0,
      'lazyLoad' => 'ondemand',
      'respondTo' => 'window',
      'rtl' => FALSE,
      'rows' => 1,
      'slidesPerRow' => 1,
      'slide' => '',
      'slidesToShow' => 1,
      'slidesToScroll' => 1,
      'speed' => 500,
      'swipe' => TRUE,
      'swipeToSlide' => FALSE,
      'edgeFriction' => 1,
      'touchMove' => TRUE,
      'touchThreshold' => 5,
      'useCSS' => TRUE,
      'cssEase' => 'ease',
      'cssEaseBezier' => '',
      'cssEaseOverride' => '',
      'useTransform' => TRUE,
      'easing' => 'linear',
      'variableWidth' => FALSE,
      'vertical' => FALSE,
      'verticalSwiping' => FALSE,
      'waitForAnimate' => TRUE,
    ),
  );
  $presets['x_grid'] = $preset;
  $preset = new stdClass();
  $preset->disabled = FALSE;

  /* Edit this to true to make a default preset disabled initially */
  $preset->api_version = 1;
  $preset->name = 'x_main';
  $preset->label = 'X Main Fullwidth';
  $preset->breakpoints = 1;
  $preset->skin = 'fullwidth';
  $preset->options = array(
    'general' => array(
      'normal' => 'slick',
      'thumbnail' => 'slick_140x80',
      'template_class' => '',
      'goodies' => array(
        'arrow-down' => 'arrow-down',
        'pattern' => 'pattern',
        'random' => 0,
      ),
      'arrow_down_target' => '#main',
      'arrow_down_offset' => '125',
    ),
    'settings' => array(
      'mobileFirst' => FALSE,
      'asNavFor' => '',
      'accessibility' => TRUE,
      'adaptiveHeight' => FALSE,
      'autoplay' => FALSE,
      'autoplaySpeed' => 3000,
      'pauseOnHover' => TRUE,
      'pauseOnDotsHover' => FALSE,
      'arrows' => TRUE,
      'prevArrow' => '<button type="button" data-role="none" class="slick-prev">Previous</button>',
      'nextArrow' => '<button type="button" data-role="none" class="slick-next">Next</button>',
      'centerMode' => FALSE,
      'centerPadding' => '50px',
      'dots' => TRUE,
      'dotsClass' => 'slick-dots',
      'appendDots' => '$(element)',
      'draggable' => TRUE,
      'fade' => FALSE,
      'focusOnSelect' => FALSE,
      'infinite' => TRUE,
      'initialSlide' => 0,
      'lazyLoad' => 'progressive',
      'respondTo' => 'window',
      'rtl' => FALSE,
      'rows' => 1,
      'slidesPerRow' => 1,
      'slide' => '',
      'slidesToShow' => 1,
      'slidesToScroll' => 1,
      'speed' => 500,
      'swipe' => TRUE,
      'swipeToSlide' => TRUE,
      'edgeFriction' => 0.15,
      'touchMove' => TRUE,
      'touchThreshold' => 5,
      'useCSS' => TRUE,
      'cssEase' => 'ease',
      'cssEaseBezier' => '',
      'cssEaseOverride' => '',
      'useTransform' => TRUE,
      'easing' => 'linear',
      'variableWidth' => FALSE,
      'vertical' => FALSE,
      'verticalSwiping' => FALSE,
      'waitForAnimate' => TRUE,
    ),
    'responsives' => array(
      'responsive' => array(
        0 => array(
          'breakpoint' => 480,
          'unslick' => FALSE,
          'settings' => array(
            'accessibility' => TRUE,
            'adaptiveHeight' => FALSE,
            'autoplay' => FALSE,
            'autoplaySpeed' => 3000,
            'pauseOnHover' => TRUE,
            'pauseOnDotsHover' => FALSE,
            'arrows' => FALSE,
            'centerMode' => FALSE,
            'centerPadding' => '50px',
            'dots' => FALSE,
            'draggable' => TRUE,
            'fade' => FALSE,
            'focusOnSelect' => FALSE,
            'infinite' => TRUE,
            'initialSlide' => 0,
            'rows' => 1,
            'slidesPerRow' => 1,
            'slidesToShow' => 1,
            'slidesToScroll' => 1,
            'speed' => 500,
            'swipe' => TRUE,
            'swipeToSlide' => FALSE,
            'edgeFriction' => 0.35,
            'touchMove' => TRUE,
            'touchThreshold' => 5,
            'useCSS' => TRUE,
            'cssEase' => 'ease',
            'cssEaseBezier' => '',
            'cssEaseOverride' => '',
            'useTransform' => TRUE,
            'easing' => 'linear',
            'variableWidth' => FALSE,
            'vertical' => FALSE,
            'verticalSwiping' => FALSE,
            'waitForAnimate' => TRUE,
          ),
        ),
      ),
    ),
  );
  $presets['x_main'] = $preset;
  $preset = new stdClass();
  $preset->disabled = FALSE;

  /* Edit this to true to make a default preset disabled initially */
  $preset->api_version = 1;
  $preset->name = 'x_slick_for';
  $preset->label = 'X Main Slick for';
  $preset->breakpoints = 0;
  $preset->skin = 'classic';
  $preset->options = array(
    'general' => array(
      'normal' => 'slick_1280',
      'thumbnail' => '',
      'template_class' => 'slick--for',
      'goodies' => array(
        'arrow-down' => 0,
        'pattern' => 0,
        'random' => 0,
      ),
      'arrow_down_target' => '',
      'arrow_down_offset' => '',
    ),
    'settings' => array(
      'mobileFirst' => FALSE,
      'asNavFor' => '',
      'accessibility' => TRUE,
      'adaptiveHeight' => FALSE,
      'autoplay' => FALSE,
      'autoplaySpeed' => 3000,
      'pauseOnHover' => TRUE,
      'pauseOnDotsHover' => FALSE,
      'arrows' => FALSE,
      'prevArrow' => '<button type="button" data-role="none" class="slick-prev">Previous</button>',
      'nextArrow' => '<button type="button" data-role="none" class="slick-next">Next</button>',
      'centerMode' => FALSE,
      'centerPadding' => '50px',
      'dots' => FALSE,
      'dotsClass' => 'slick-dots',
      'appendDots' => '$(element)',
      'draggable' => TRUE,
      'fade' => FALSE,
      'focusOnSelect' => FALSE,
      'infinite' => TRUE,
      'initialSlide' => 0,
      'lazyLoad' => 'progressive',
      'respondTo' => 'window',
      'rtl' => FALSE,
      'rows' => 1,
      'slidesPerRow' => 1,
      'slide' => '',
      'slidesToShow' => 1,
      'slidesToScroll' => 1,
      'speed' => 500,
      'swipe' => TRUE,
      'swipeToSlide' => FALSE,
      'edgeFriction' => 0.35,
      'touchMove' => TRUE,
      'touchThreshold' => 5,
      'useCSS' => TRUE,
      'cssEase' => 'ease',
      'cssEaseBezier' => '',
      'cssEaseOverride' => '',
      'useTransform' => TRUE,
      'easing' => 'linear',
      'variableWidth' => FALSE,
      'vertical' => FALSE,
      'verticalSwiping' => FALSE,
      'waitForAnimate' => TRUE,
    ),
  );
  $presets['x_slick_for'] = $preset;
  $preset = new stdClass();
  $preset->disabled = FALSE;

  /* Edit this to true to make a default preset disabled initially */
  $preset->api_version = 1;
  $preset->name = 'x_slick_nav';
  $preset->label = 'X Thumbnail Slick nav';
  $preset->breakpoints = 2;
  $preset->skin = 'asnavfor';
  $preset->options = array(
    'general' => array(
      'normal' => 'slick_140x80',
      'thumbnail' => '',
      'template_class' => 'slick--nav',
      'goodies' => array(
        'arrow-down' => 0,
        'pattern' => 0,
        'random' => 0,
      ),
      'arrow_down_target' => '',
      'arrow_down_offset' => '',
    ),
    'settings' => array(
      'mobileFirst' => FALSE,
      'asNavFor' => '',
      'accessibility' => TRUE,
      'adaptiveHeight' => FALSE,
      'autoplay' => FALSE,
      'autoplaySpeed' => 3000,
      'pauseOnHover' => TRUE,
      'pauseOnDotsHover' => FALSE,
      'arrows' => TRUE,
      'prevArrow' => '<button type="button" data-role="none" class="slick-prev">Previous</button>',
      'nextArrow' => '<button type="button" data-role="none" class="slick-next">Next</button>',
      'centerMode' => TRUE,
      'centerPadding' => '0',
      'dots' => TRUE,
      'dotsClass' => 'slick-dots',
      'appendDots' => '$(element)',
      'draggable' => TRUE,
      'fade' => FALSE,
      'focusOnSelect' => TRUE,
      'infinite' => TRUE,
      'initialSlide' => 0,
      'lazyLoad' => 'progressive',
      'respondTo' => 'window',
      'rtl' => FALSE,
      'rows' => 1,
      'slidesPerRow' => 1,
      'slide' => '',
      'slidesToShow' => 7,
      'slidesToScroll' => 1,
      'speed' => 500,
      'swipe' => TRUE,
      'swipeToSlide' => FALSE,
      'edgeFriction' => 0.35,
      'touchMove' => TRUE,
      'touchThreshold' => 5,
      'useCSS' => TRUE,
      'cssEase' => 'ease',
      'cssEaseBezier' => '',
      'cssEaseOverride' => '',
      'useTransform' => TRUE,
      'easing' => 'linear',
      'variableWidth' => FALSE,
      'vertical' => FALSE,
      'verticalSwiping' => FALSE,
      'waitForAnimate' => TRUE,
    ),
    'responsives' => array(
      'responsive' => array(
        0 => array(
          'breakpoint' => 900,
          'unslick' => FALSE,
          'settings' => array(
            'accessibility' => TRUE,
            'adaptiveHeight' => FALSE,
            'autoplay' => FALSE,
            'autoplaySpeed' => 3000,
            'pauseOnHover' => TRUE,
            'pauseOnDotsHover' => FALSE,
            'arrows' => FALSE,
            'centerMode' => TRUE,
            'centerPadding' => '20px',
            'dots' => TRUE,
            'draggable' => TRUE,
            'fade' => FALSE,
            'focusOnSelect' => TRUE,
            'infinite' => TRUE,
            'initialSlide' => 0,
            'rows' => 1,
            'slidesPerRow' => 1,
            'slidesToShow' => 5,
            'slidesToScroll' => 1,
            'speed' => 500,
            'swipe' => TRUE,
            'swipeToSlide' => FALSE,
            'edgeFriction' => 0.35,
            'touchMove' => TRUE,
            'touchThreshold' => 5,
            'useCSS' => TRUE,
            'cssEase' => 'ease',
            'cssEaseBezier' => '',
            'cssEaseOverride' => '',
            'useTransform' => TRUE,
            'easing' => 'linear',
            'variableWidth' => FALSE,
            'vertical' => FALSE,
            'verticalSwiping' => FALSE,
            'waitForAnimate' => TRUE,
          ),
        ),
        1 => array(
          'breakpoint' => 481,
          'unslick' => FALSE,
          'settings' => array(
            'accessibility' => TRUE,
            'adaptiveHeight' => FALSE,
            'autoplay' => FALSE,
            'autoplaySpeed' => 3000,
            'pauseOnHover' => TRUE,
            'pauseOnDotsHover' => FALSE,
            'arrows' => FALSE,
            'centerMode' => TRUE,
            'centerPadding' => '10px',
            'dots' => TRUE,
            'draggable' => TRUE,
            'fade' => FALSE,
            'focusOnSelect' => TRUE,
            'infinite' => TRUE,
            'initialSlide' => 0,
            'rows' => 1,
            'slidesPerRow' => 1,
            'slidesToShow' => 3,
            'slidesToScroll' => 1,
            'speed' => 500,
            'swipe' => TRUE,
            'swipeToSlide' => FALSE,
            'edgeFriction' => 0.35,
            'touchMove' => TRUE,
            'touchThreshold' => 5,
            'useCSS' => TRUE,
            'cssEase' => 'ease',
            'cssEaseBezier' => '',
            'cssEaseOverride' => '',
            'useTransform' => TRUE,
            'easing' => 'linear',
            'variableWidth' => FALSE,
            'vertical' => FALSE,
            'verticalSwiping' => FALSE,
            'waitForAnimate' => TRUE,
          ),
        ),
      ),
    ),
  );
  $presets['x_slick_nav'] = $preset;
  return $presets;
}

Functions

Namesort descending Description
slick_example_slick_default_presets Implements hook_slick_default_presets().