You are here

public function WizardPluginBase::getFilters in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php \Drupal\views\Plugin\views\wizard\WizardPluginBase::getFilters()

Gets the filters property.

Return value

array

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

File

core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php, line 148
Contains \Drupal\views\Plugin\views\wizard\WizardPluginBase.

Class

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