function invite_rules_event_info in Invite 7.4
Implements hook_rules_event_info().
File
- ./
invite.rules.inc, line 11 - Rules integration for the invite module.
Code
function invite_rules_event_info() {
return array(
'invite_withdraw' => array(
'label' => t('An invitation has been withdrawn'),
'group' => t('Invite'),
'variables' => array(
'invite' => array(
'type' => 'invite',
'label' => t('Invitation'),
),
),
),
'invite_accept' => array(
'label' => t('An invitation has been accepted'),
'group' => t('Invite'),
'variables' => array(
'invite' => array(
'type' => 'invite',
'label' => t('Invitation'),
),
'account' => array(
'type' => 'user',
'label' => t('User that accepted the request'),
),
),
),
);
}