You are here

function talk_activated in Talk 6

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

Is talk page option activated for node tpye?

6 calls to talk_activated()
talk_comment in ./talk.module
Implementation of hook_comment(). Changing the destination to the talk page after posting a comment.
talk_form_alter in ./talk.module
Implementation of hook_form_alter().
talk_link in ./talk.module
Implementation of hook_link().
talk_nodeapi in ./talk.module
Implementation of hook_nodeapi().
talk_token_values in ./talk.module
Implementation of hook_token_values().

... See full list

File

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

Code

function talk_activated($node_type) {
  return variable_get('comment_talk_' . $node_type, FALSE);
}