function botcha_rules_event_info in BOTCHA Spam Prevention 7
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.2 botcha.rules.inc \botcha_rules_event_info()
- 7.3 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'),
'group' => t('BOTCHA'),
'variables' => botcha_rules_events_hook_variables(),
),
'botcha_form_rejected' => array(
'label' => t('A form submission is rejected'),
'group' => t('BOTCHA'),
'variables' => botcha_rules_events_hook_variables(),
),
);
}