You are here

protected function DrupalSliderThumbnails::defineOptions in Drupal Slider 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/views/field/DrupalSliderThumbnails.php \Drupal\drupal_slider\Plugin\views\field\DrupalSliderThumbnails::defineOptions()

Define the available options.

Overrides FieldPluginBase::defineOptions

File

src/Plugin/views/field/DrupalSliderThumbnails.php, line 30

Class

DrupalSliderThumbnails
Field handler for Drupal Slider.

Namespace

Drupal\drupal_slider\Plugin\views\field

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['thumbnails'] = [
    'default' => '',
  ];
  return $options;
}