You are here

function botcha_rules_event_info in BOTCHA Spam Prevention 7.2

Same name and namespace in other branches
  1. 6 botcha.rules.inc \botcha_rules_event_info()
  2. 6.2 botcha.rules.inc \botcha_rules_event_info()
  3. 6.3 botcha.rules.inc \botcha_rules_event_info()
  4. 7 botcha.rules.inc \botcha_rules_event_info()
  5. 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(),
    ),
  );
}