public function WizardPluginBase::getFilters

Gets the filters property.

Return value

array

1 call to WizardPluginBase::getFilters()
WizardPluginBase::default_display_filters in drupal/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php
Retrieves all filter information used by the default display.

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php, line 168
Definition of Drupal\views\Plugin\views\wizard\WizardPluginBase.

Class

WizardPluginBase
Provides the interface and base class for Views Wizard plugins.

Namespace

Drupal\views\Plugin\views\wizard

Code

public function getFilters() {
  $filters = array();
  $default = $this->filter_defaults;
  foreach ($this->filters as $name => $info) {
    $default['id'] = $name;
    $filters[$name] = $info + $default;
  }
  return $filters;
}