views_handler_filter_node_comment.inc

  1. 3.x modules/comment/views_handler_filter_node_comment.inc
  2. 2.x modules/comment/views_handler_filter_node_comment.inc

Definition of views_handler_filter_node_comment.

File

modules/comment/views_handler_filter_node_comment.inc
View source
  1. <?php
  2. /**
  3. * @file
  4. * Definition of views_handler_filter_node_comment.
  5. */
  6. /**
  7. * Filter based on comment node status.
  8. *
  9. * @ingroup views_filter_handlers
  10. */
  11. class views_handler_filter_node_comment extends views_handler_filter_in_operator {
  12. function get_value_options() {
  13. $this->value_options = array(
  14. COMMENT_NODE_HIDDEN => t('Hidden'),
  15. COMMENT_NODE_CLOSED => t('Closed'),
  16. COMMENT_NODE_OPEN => t('Open'),
  17. );
  18. }
  19. }