function botcha_rules_event_info in BOTCHA Spam Prevention 7.3
Same name and namespace in other branches
- 6 botcha.rules.inc \botcha_rules_event_info()
- 6.2 botcha.rules.inc \botcha_rules_event_info()
- 6.3 botcha.rules.inc \botcha_rules_event_info()
- 7 botcha.rules.inc \botcha_rules_event_info()
- 7.2 botcha.rules.inc \botcha_rules_event_info()
Implements hook_rules_event_info().
File
- ./
botcha.rules.inc, line 11 - Rules integration for the BOTCHA module.
Code
function botcha_rules_event_info() {
return array(
'botcha_form_approved' => array(
'label' => t('A form submission is accepted'),
// @todo Abstract it.
'group' => t('BOTCHA'),
'variables' => botcha_rules_events_hook_variables(),
),
'botcha_form_rejected' => array(
'label' => t('A form submission is rejected'),
// @todo Abstract it.
'group' => t('BOTCHA'),
'variables' => botcha_rules_events_hook_variables(),
),
);
}