Same filename and directory in other branches
- 7.x-3.x modules/comment/views_handler_field_node_comment.inc
File
modules/comment/views_handler_field_node_comment.inc
View source
<?php
class views_handler_field_node_comment extends views_handler_field {
function render($values) {
$value = $this
->get_value($values);
switch ($value) {
case COMMENT_NODE_DISABLED:
default:
return t('Disabled');
case COMMENT_NODE_READ_ONLY:
return t('Read only');
case COMMENT_NODE_READ_WRITE:
return t('Read/Write');
}
}
}
Classes