You are here

function flag_rules_get_event_argument in Flag 6.2

Same name and namespace in other branches
  1. 6 includes/flag.rules.inc \flag_rules_get_event_argument()

Argument handler: Fetches the flags content for use with rules.

3 string references to 'flag_rules_get_event_argument'
flag_comment::rules_get_event_arguments_definition in ./flag.inc
flag_node::rules_get_event_arguments_definition in ./flag.inc
flag_user::rules_get_event_arguments_definition in ./flag.inc

File

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

Code

function flag_rules_get_event_argument($flag, $content_id, $account) {
  return $flag
    ->fetch_content($content_id);
}