You are here

public function SlickUi::getOptionsRequiredByTemplate in Slick Carousel 7.2

Defines options required by theme_slick(), used with optimized option.

1 call to SlickUi::getOptionsRequiredByTemplate()
SlickUi::edit_form_submit in slick_ui/plugins/export_ui/SlickUi.class.php
Overrides the edit form submit handler.

File

slick_ui/plugins/export_ui/SlickUi.class.php, line 861
Contains the CTools export UI integration code.

Class

SlickUi
CTools Export UI class handler for Slick UI.

Code

public function getOptionsRequiredByTemplate() {
  $options = array(
    'asNavFor' => '',
    'dotsClass' => 'slick-dots',
    'focusOnSelect' => FALSE,
    'initialSlide' => 0,
    'lazyLoad' => 'ondemand',
    'mousewheel' => FALSE,
    'prevArrow' => 'Previous',
    'nextArrow' => 'Next',
    'rtl' => FALSE,
    'rows' => 1,
    'slidesPerRow' => 1,
    'slide' => '',
    'slidesToShow' => 1,
  );
  drupal_alter('slick_ui_options_required_by_template_info', $options);
  return $options;
}