protected function SliderPro::defineOptions in Slider Pro 8
Information about options for all kinds of purposes will be held here.
'option_name' => array(
 - 'default' => default value,
 - 'contains' => (optional) array of items this contains, with its own
     defaults, etc. If contains is set, the default will be ignored and
     assumed to be array().
 ),
Return value
array Returns the options of this handler/plugin.
Overrides StylePluginBase::defineOptions
File
- src/
Plugin/ views/ style/ SliderPro.php, line 83  
Class
- SliderPro
 - Plugin annotation @ViewsStyle( id = "slider_pro", title = @Translation("Slider Pro"), help = @Translation("Displays a view as a Slider Pro, using the Slider Pro jQuery plugin."), theme = "slider_pro_views_style", theme_file =…
 
Namespace
Drupal\slider_pro\Plugin\views\styleCode
protected function defineOptions() {
  $options = parent::defineOptions();
  $options['optionset'] = [
    'default' => 'default',
  ];
  $options['fields'] = [];
  $options['thumbnail_fields'] = [];
  $options['number_of_layers'] = 0;
  $options['layers'] = [];
  return $options;
}