WizardPluginBase::$filter_defaults

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php \Drupal\views\Plugin\views\wizard\WizardPluginBase::filter_defaults
  2. 8.9.x core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php \Drupal\views\Plugin\views\wizard\WizardPluginBase::filter_defaults
  3. 11.x core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php \Drupal\views\Plugin\views\wizard\WizardPluginBase::filter_defaults

Default values for filters.

By default, filters are not exposed and added to the first non-reserved filter group.

Type: array

File

core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php, line 107

Class

WizardPluginBase
Base class for Views wizard plugins.

Namespace

Drupal\views\Plugin\views\wizard

Code

protected $filter_defaults = [
    'id' => NULL,
    'expose' => [
        'operator' => FALSE,
    ],
    'group' => 1,
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.