NodeComment.php in Zircon Profile 8
File
core/modules/comment/src/Plugin/views/filter/NodeComment.php
View source
<?php
namespace Drupal\comment\Plugin\views\filter;
use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface;
use Drupal\views\Plugin\views\filter\InOperator;
class NodeComment extends InOperator {
public function getValueOptions() {
$this->valueOptions = array(
CommentItemInterface::HIDDEN => $this
->t('Hidden'),
CommentItemInterface::CLOSED => $this
->t('Closed'),
CommentItemInterface::OPEN => $this
->t('Open'),
);
}
}