function fbconnect_rules_event_info in Facebook Connect 8.2
Same name and namespace in other branches
- 6.2 fbconnect.rules.inc \fbconnect_rules_event_info()
- 7.2 fbconnect.rules.inc \fbconnect_rules_event_info()
Implements hook_rules_event_info().
File
- ./
fbconnect.rules.inc, line 14 - Rules integration for the fbconnect module.
Code
function fbconnect_rules_event_info() {
return array(
'fbconnect_user_registered' => array(
'label' => t('User has connected his Facebook Account'),
'module' => 'fbconnect',
'variables' => array(
'account' => array(
'type' => 'user',
'label' => t('granted facebook auth user'),
),
),
),
'fbconnect_user_unregistered' => array(
'label' => t('User has disconnected his Facebook Account'),
'module' => 'fbconnect',
'variables' => array(
'account' => array(
'type' => 'user',
'label' => t('revoked facebook auth user'),
),
),
),
'fbconnect_user_login' => array(
'label' => t('User has logged in via Facebook'),
'module' => 'fbconnect',
'variables' => array(
'account' => array(
'type' => 'user',
'label' => t('logged in via facebook user'),
),
),
),
);
}