You are here

logintoboggan_rules.rules.inc in LoginToboggan 7

Same filename and directory in other branches
  1. 6 contrib/logintoboggan_rules/logintoboggan_rules.rules.inc

File

contrib/logintoboggan_rules/logintoboggan_rules.rules.inc
View source
<?php

/**
 * Implement hook_rules_event_info().
 * @ingroup rules
 */
function logintoboggan_rules_rules_event_info() {
  return array(
    'logintoboggan_validated' => array(
      'label' => t("When the user account is validated."),
      'group' => 'LoginToboggan',
      'variables' => array(
        'account' => array(
          'type' => 'user',
          'label' => t("The validated user's account"),
        ),
      ),
      'group' => t('User'),
    ),
  );
}