public static function SliderProDefaults::defaultOptions in Slider Pro 8
Returns default slider pro library options.
Return value
array
1 call to SliderProDefaults::defaultOptions()
- SliderProForm::form in src/
Form/ SliderProForm.php - Gets the actual form array to be built.
File
- src/
SliderProDefaults.php, line 15
Class
- SliderProDefaults
- Class SliderProDefaults @package Drupal\slider_pro
Namespace
Drupal\slider_proCode
public static function defaultOptions() {
return [
'width' => '100%',
'visible_size' => 'auto',
'force_size' => 'none',
'height' => '200px',
'orientation' => 'horizontal',
'buttons' => 0,
'transition' => 0,
'arrows' => 0,
'thumbnail_position' => 0,
'thumbnail_width' => '100',
'thumbnail_height' => '80',
'thumbnail_pointer' => 0,
'thumbnail_arrows' => 0,
'fade_thumbnail_arrows' => 1,
'wait_for_layers' => 0,
'auto_scale_layers' => 1,
'center_image' => 1,
'allow_scale_up' => 1,
'auto_height' => 0,
'start_slide' => 0,
'shuffle' => 0,
'loop' => 1,
'autoplay' => 1,
'autoplay_delay' => 5000,
'autoplay_direction' => 'normal',
'autoplay_on_hover' => 'pause',
'slide_distance' => 10,
'keyboard' => 1,
'full_screen' => 0,
'fade_full_screen' => 1,
'update_hash' => 0,
];
}