protected property Comment::$filters in Views (for Drupal 7) 8.3
Set default values for the filters.
Overrides WizardPluginBase::$filters
File
- lib/
Views/ comment/ Plugin/ views/ wizard/ Comment.php, line 53 - Definition of Views\node\Plugin\views\wizard\Comment.
Class
- Comment
- Tests creating comment views with the wizard.
Namespace
Views\comment\Plugin\views\wizardCode
protected $filters = array(
'status' => array(
'value' => TRUE,
'table' => 'comment',
'field' => 'status',
),
'status_node' => array(
'value' => TRUE,
'table' => 'node',
'field' => 'status',
'relationship' => 'nid',
),
);