function botcha_rules_event_info in BOTCHA Spam Prevention 6.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()
- 7 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()
Implementation of 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.
'arguments' => botcha_rules_events_hook_arguments(),
'module' => 'BOTCHA',
),
'botcha_form_rejected' => array(
'label' => t('A form submission is rejected'),
// @todo Abstract it.
'arguments' => botcha_rules_events_hook_arguments(),
'module' => 'BOTCHA',
),
);
}