function email_confirm_rules_event_info in Email Change Confirmation 7
Same name and namespace in other branches
- 6 email_confirm.rules.inc \email_confirm_rules_event_info()
Implements hook_rules_event_info().
File
- ./
email_confirm.rules.inc, line 13 - Functions for integrating the Rules module with Email Change Confirmation.
Code
function email_confirm_rules_event_info() {
return array(
'email_confirm_email_change_request' => array(
'label' => t('User has requested email change'),
'group' => t('Email Change Confirmation'),
'variables' => array(
'user' => array(
'type' => 'user',
'label' => t('User object of the user requesting email change'),
),
'old_email' => array(
'type' => 'text',
'label' => t('Current email address of the user requesting email change'),
),
'new_email' => array(
'type' => 'text',
'label' => t('New email address of the user requesting email change'),
),
),
'module' => 'email_confirm',
),
'email_confirm_email_change_confirmation' => array(
'label' => t('User has confirmed email change'),
'group' => t('Email Change Confirmation'),
'variables' => array(
'user' => array(
'type' => 'user',
'label' => t('User object of the user confirming email change'),
),
'old_email' => array(
'type' => 'text',
'label' => t('Current email address of the user confirming email change'),
),
'new_email' => array(
'type' => 'text',
'label' => t('New email address of the user confirming email change'),
),
),
'module' => 'email_confirm',
),
);
}