function system_send_email_action_submit

Process system_send_email_action form submissions.

File

modules/system/system.module, line 3245

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.