function redhen_fields_email_action_submit in RedHen CRM 7
Process system_send_email_action form submissions.
File
- modules/
redhen_fields/ redhen_fields.module, line 812 - Defines email, phone and address field types for RedHen CRM.
Code
function redhen_fields_email_action_submit($form, $form_state) {
$form_values = $form_state['values'];
// Process the HTML form to store configuration. The keyed array that
// we return will be serialized to the database.
$params = array(
'subject' => $form_values['subject'],
'message' => $form_values['message'],
);
return $params;
}