function _talk_node_comment_value in Talk 5
Same name and namespace in other branches
- 6 talk.module \_talk_node_comment_value()
- 7 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_link in ./
talk.module - Implementation of hook_link().
- talk_menu in ./
talk.module - Implementation of hook_menu().
- _talk_access in ./
talk.module - Helper item for talk_menu: access callback.
File
- ./
talk.module, line 171 - Comments are displayed in a separate 'talk' tab, for node types you wish Made for Drupal 5.x
Code
function _talk_node_comment_value(&$node) {
return isset($node->comment_original_value) ? $node->comment_original_value : $node->comment;
}