function _talk_access in Talk 5
Same name and namespace in other branches
- 6 talk.module \_talk_access()
- 7 talk.module \_talk_access()
Helper item for talk_menu: access callback.
File
- ./
talk.module, line 56 - Comments are displayed in a separate 'talk' tab, for node types you wish Made for Drupal 5.x
Code
function _talk_access($perm, $node) {
return user_access($perm) && talk_activated($node->type) && $node->nid && _talk_node_comment_value($node);
}