You are here

function rules_events_argument_comment_node in Rules 6

Gets the comment's node

Related topics

1 call to rules_events_argument_comment_node()
rules_events_argument_comment_node_author in rules/modules/comment.rules.inc
Gets the comment's node's author
1 string reference to 'rules_events_argument_comment_node'
rules_events_hook_comment_arguments in rules/modules/comment.rules.inc
Returns some arguments suitable for hook comment

File

rules/modules/comment.rules.inc, line 97
rules integration for the comment module

Code

function rules_events_argument_comment_node($comment) {
  return node_load($comment->nid);
}