function apachesolr_search_bias_form_reset in Apache Solr Search 7
Same name and namespace in other branches
- 8 apachesolr_search.admin.inc \apachesolr_search_bias_form_reset()
- 6.3 apachesolr_search.admin.inc \apachesolr_search_bias_form_reset()
1 string reference to 'apachesolr_search_bias_form_reset'
File
- ./
apachesolr_search.admin.inc, line 737 - Administrative settings for searching.
Code
function apachesolr_search_bias_form_reset($form, &$form_state) {
// Exclude unnecessary elements.
form_state_values_clean($form_state);
foreach ($form_state['values'] as $key => $value) {
apachesolr_environment_variable_del($form['#env_id'], $key);
}
drupal_set_message(t('The configuration options have been reset to their default values.'));
}