I am trying to create a custom action in rules to send mail to all the user registered after this period but I am not able to see the action form page i am getting the rule listed in by action list. What I am doing is this.

function hook_rules_action_info() {
return array(
'module_mail_to_users_of_role' => array(
'label' => t('Send a mail to all users of a role'),
'group' => t('System'),
'module' => 'System',
'eval input' => array('subject', 'message', 'from'),
),
);
}
function module_mail_to_users_of_role($settings) {
the configuration here;
}

function module_mail_to_users_of_role_form($settings = array(), &$form) {
the form here;
}

Is there a change in drupal 7 with rules 2.x Please help me.

Comments

TR’s picture

Category: Feature request » Support request
Issue summary: View changes
Status: Active » Closed (cannot reproduce)