Comment::$filters
Same name in other branches
- 9 core/modules/comment/src/Plugin/views/wizard/Comment.php \Drupal\comment\Plugin\views\wizard\Comment::filters
- 8.9.x core/modules/comment/src/Plugin/views/wizard/Comment.php \Drupal\comment\Plugin\views\wizard\Comment::filters
- 11.x core/modules/comment/src/Plugin/views/wizard/Comment.php \Drupal\comment\Plugin\views\wizard\Comment::filters
Set default values for the filters.
Type: filters
Overrides WizardPluginBase::$filters
File
-
core/
modules/ comment/ src/ Plugin/ views/ wizard/ Comment.php, line 33
Class
- Comment
- Tests creating comment views with the wizard.
Namespace
Drupal\comment\Plugin\views\wizardCode
protected $filters = [
'status_node' => [
'value' => TRUE,
'table' => 'node_field_data',
'field' => 'status',
'plugin_id' => 'boolean',
'relationship' => 'node',
'entity_type' => 'node',
'entity_field' => 'status',
],
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.