summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/logintoboggan_rules/logintoboggan_rules.rules.inc1
-rw-r--r--contrib/logintoboggan_rules/logintoboggan_rules.rules.inc.orig21
2 files changed, 22 insertions, 0 deletions
diff --git a/contrib/logintoboggan_rules/logintoboggan_rules.rules.inc b/contrib/logintoboggan_rules/logintoboggan_rules.rules.inc
index 7583e29..673b56b 100644
--- a/contrib/logintoboggan_rules/logintoboggan_rules.rules.inc
+++ b/contrib/logintoboggan_rules/logintoboggan_rules.rules.inc
@@ -16,6 +16,7 @@ function logintoboggan_rules_rules_event_info() {
'label' => t("The validated user's account"),
),
),
+ 'group' => t('User'),
),
);
}
diff --git a/contrib/logintoboggan_rules/logintoboggan_rules.rules.inc.orig b/contrib/logintoboggan_rules/logintoboggan_rules.rules.inc.orig
new file mode 100644
index 0000000..7583e29
--- /dev/null
+++ b/contrib/logintoboggan_rules/logintoboggan_rules.rules.inc.orig
@@ -0,0 +1,21 @@
+<?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"),
+ ),
+ ),
+ ),
+ );
+}