You are here

function flag_user::rules_get_event_arguments_definition in Flag 5

Same name and namespace in other branches
  1. 6.2 flag.inc \flag_user::rules_get_event_arguments_definition()
  2. 6 flag.inc \flag_user::rules_get_event_arguments_definition()

File

./flag.inc, line 1167
Implements various flags. Uses object oriented style inspired by that of Views 2.

Class

flag_user
Implements a user flag.

Code

function rules_get_event_arguments_definition() {
  return array(
    'account' => array(
      'type' => 'user',
      'label' => t('flagged user'),
      'handler' => 'flag_rules_get_event_argument',
    ),
  );
}