You are here

protected function SortableViewsStyleTrait::defineOptions in Sortableviews 8

File

src/SortableViewsStyleTrait.php, line 91

Class

SortableViewsStyleTrait
Provides sortable functionality for View styles.

Namespace

Drupal\sortableviews

Code

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