protected property Comment::$filters in Drupal 8
Same name and namespace in other branches
- 9 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 32
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',
],
];