You are here

protected property Comment::$filters in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/comment/src/Plugin/views/wizard/Comment.php \Drupal\comment\Plugin\views\wizard\Comment::filters

Set default values for the filters.

Overrides WizardPluginBase::$filters

File

core/modules/comment/src/Plugin/views/wizard/Comment.php, line 35
Contains \Drupal\comment\Plugin\views\wizard\Comment.

Class

Comment
Tests creating comment views with the wizard.

Namespace

Drupal\comment\Plugin\views\wizard

Code

protected $filters = array(
  'status' => array(
    'value' => TRUE,
    'table' => 'comment_field_data',
    'field' => 'status',
    'plugin_id' => 'boolean',
    'entity_type' => 'comment',
    'entity_field' => 'status',
  ),
  'status_node' => array(
    'value' => TRUE,
    'table' => 'node_field_data',
    'field' => 'status',
    'plugin_id' => 'boolean',
    'relationship' => 'node',
    'entity_type' => 'node',
    'entity_field' => 'status',
  ),
);