/**
  * Overrides DataProviderEntity::getQueryForList().
  *
  * Expose only published comments.
  */
 public function getQueryForList()
 {
     $query = parent::getQueryForList();
     $query->propertyCondition('status', COMMENT_PUBLISHED);
     return $query;
 }