You are here

function flag_rules_get_node_author in Flag 6.2

Same name and namespace in other branches
  1. 6 includes/flag.rules.inc \flag_rules_get_node_author()
1 string reference to 'flag_rules_get_node_author'
flag_node::rules_get_event_arguments_definition in ./flag.inc

File

includes/flag.rules.inc, line 125
Rules integration for the Flag module.

Code

function flag_rules_get_node_author($flag, $content_id, $account) {
  $node = $flag
    ->fetch_content($content_id);
  return rules_events_argument_node_author($node);
}