On this page
function system_send_email_action_submit
system_send_email_action_submit($form, $form_state)
Process system_send_email_action form submissions.
File
- modules/system/system.module, line 3203
- Configuration system that lets administrators modify the workings of the site.
Code
function system_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;
}
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!system!system.module/function/system_send_email_action_submit/7.x