You are here

function _talk_node_comment_value in Talk 7

Same name and namespace in other branches
  1. 5 talk.module \_talk_node_comment_value()
  2. 6 talk.module \_talk_node_comment_value()

Value of 'comment' of node.

4 calls to _talk_node_comment_value()
talk_handle in ./talk.module
Menu callback for talk page.
talk_node_view in ./talk.module
Implements hook_node_view().
theme_talk_comments in ./talk.module
A theme function to provide flexible rendering of the comments.
_talk_access in ./talk.module
Helper item for talk_menu: access callback.

File

./talk.module, line 277
Comments are displayed in a separate 'talk' tab, for node types you wish

Code

function _talk_node_comment_value(&$node) {
  return isset($node->comment_original_value) ? $node->comment_original_value : $node->comment;
}