function crm_core_activity_send_email_action_submit in CRM Core 7
Submit handler for 'crm_core_activity_send_email_action' action.
File
- modules/
crm_core_activity/ crm_core_activity.module, line 887 - Provides an entity for recording a contact's activities.
Code
function crm_core_activity_send_email_action_submit($form, $form_state) {
$subject = $form_state['values']['subject'];
$message = $form_state['values']['message'];
return array(
'subject' => $subject,
'message' => $message,
);
}