You are here

public function SectionId::defaultExposeOptions in Workbench Access 8

Provide default options for exposed filters.

Overrides InOperator::defaultExposeOptions

File

src/Plugin/views/filter/SectionId.php, line 93

Class

SectionId
Filter by assigned section.

Namespace

Drupal\workbench_access\Plugin\views\filter

Code

public function defaultExposeOptions() {
  parent::defaultExposeOptions();
  $this->options['expose']['reduce'] = TRUE;
  $this->options['output_format']['default'] = 'label';
}