function _talk_node_comment_value in Talk 6
Same name and namespace in other branches
- 5 talk.module \_talk_node_comment_value()
- 7 talk.module \_talk_node_comment_value()
Value of 'comment' of node.
3 calls to _talk_node_comment_value()
- talk_handle in ./
talk.module - Menu callback for talk page.
- talk_link in ./
talk.module - Implementation of hook_link().
- _talk_access in ./
talk.module - Helper item for talk_menu: access callback.
File
- ./
talk.module, line 235 - 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;
}