function ad_actions_send_email_action_before_submit in Advertisement 6.2
Same name and namespace in other branches
- 6.3 actions/ad_actions.module \ad_actions_send_email_action_before_submit()
- 7 actions/ad_actions.module \ad_actions_send_email_action_before_submit()
Collect action configuration, stored serialized in the database.
File
- actions/
ad_actions.module, line 131 - Enable ad triggers and actions.
Code
function ad_actions_send_email_action_before_submit($form, &$form_state) {
$params = array(
'recipient' => $form_state['values']['recipient'],
'subject' => $form_state['values']['subject'],
'message' => $form_state['values']['message'],
'before' => $form_state['values']['before'],
'disable_notifications' => $form_state['values']['disable_notifications'],
);
return $params;
}