You are here

function party_settings_primary_fields_form_submit in Party 8.2

Submit handler for the primary fields settings form.

File

./party.admin.inc, line 236
Admin page callback file for the party module.

Code

function party_settings_primary_fields_form_submit(&$form, &$form_state) {
  $primary_fields = array(
    'email' => $form_state['values']['email'],
    'email2' => $form_state['values']['email2'],
  );
  variable_set('party_primary_fields', $primary_fields);
}