function library_send_email_action_submit in Library 6.2
Same name and namespace in other branches
- 5.2 library.actions.inc \library_send_email_action_submit()
- 6 library.actions.inc \library_send_email_action_submit()
- 7 library.actions.inc \library_send_email_action_submit()
Process library_send_email_action form submissions.
File
- ./
library.actions.inc, line 189 - Hooks into core Drupal actions module
Code
function library_send_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(
'recipient' => $form_values['recipient'],
'subject' => $form_values['subject'],
'message' => $form_values['message'],
);
return $params;
}