You are here

function botcha_rules_event_info in BOTCHA Spam Prevention 6.2

Same name and namespace in other branches
  1. 6 botcha.rules.inc \botcha_rules_event_info()
  2. 6.3 botcha.rules.inc \botcha_rules_event_info()
  3. 7 botcha.rules.inc \botcha_rules_event_info()
  4. 7.2 botcha.rules.inc \botcha_rules_event_info()
  5. 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'),
      'arguments' => botcha_rules_events_hook_arguments(),
      'module' => 'BOTCHA',
    ),
    'botcha_form_rejected' => array(
      'label' => t('A form submission is rejected'),
      'arguments' => botcha_rules_events_hook_arguments(),
      'module' => 'BOTCHA',
    ),
  );
}