You are here

protected function TreeERSelection::defineOptions in Views tree 8.2

Set default options

Overrides Tree::defineOptions

File

src/Plugin/views/style/TreeERSelection.php, line 26

Class

TreeERSelection
Style plugin to render each item as hierarchy.

Namespace

Drupal\views_tree\Plugin\views\style

Code

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