function tripal_feature_admin_validate

2.x tripal_feature.admin.inc tripal_feature_admin_validate($form, &$form_state)
3.x tripal_feature.admin.inc tripal_feature_admin_validate($form, &$form_state)
1.x tripal_feature.admin.inc tripal_feature_admin_validate($form, &$form_state)

Validate the feature settings forms

Related topics

File

tripal_feature/includes/tripal_feature.admin.inc, line 157
Administration of features

Code

function tripal_feature_admin_validate($form, &$form_state) {
  global $user; // we need access to the user info
  $job_args = array();

  variable_set('chado_browser_feature_types', $form_state['values']['feature_types']);

  switch ($form_state['values']['op']) {

    case t('Set Summary'):
      variable_set('tripal_feature_summary_report_mapping', $form_state['values']['feature_mapping']);
      break;

  }

}