function ctools_context_user_settings_form_submit

File

plugins/contexts/user.inc, line 143

Code

function ctools_context_user_settings_form_submit($form, &$form_state) {
    if ($form_state['values']['set_identifier']) {
        $account = user_load($form_state['values']['uid']);
        $form_state['values']['identifier'] = $account->name;
    }
    $form_state['conf']['type'] = $form_state['values']['type'];
    $form_state['conf']['uid'] = $form_state['values']['uid'];
}