You are here

protected function SlickGrouping::defineOptions in Slick Views 8.2

Overrides SlickViewsBase::defineOptions

File

src/Plugin/views/style/SlickGrouping.php, line 37

Class

SlickGrouping
Slick style plugin with grouping support.

Namespace

Drupal\slick_views\Plugin\views\style

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  foreach ([
    'limit',
    'optionset',
  ] as $key) {
    $options['grouping_' . $key] = [
      'default' => '',
    ];
  }
  return $options;
}