You are here

public function WizardPluginBase::getFilters in Views (for Drupal 7) 8.3

Gets the filters property.

Return value

array

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

File

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;
}