function apachesolr_search_bias_form in Apache Solr Search 6.3
Same name and namespace in other branches
- 8 apachesolr_search.admin.inc \apachesolr_search_bias_form()
- 5.2 apachesolr_search.admin.inc \apachesolr_search_bias_form()
- 6 apachesolr_search.admin.inc \apachesolr_search_bias_form()
- 6.2 apachesolr_search.admin.inc \apachesolr_search_bias_form()
- 7 apachesolr_search.admin.inc \apachesolr_search_bias_form()
1 string reference to 'apachesolr_search_bias_form'
- apachesolr_bias_settings_page in ./
apachesolr_search.admin.inc - Menu callback - Bias settings form.
File
- ./
apachesolr_search.admin.inc, line 730 - Administrative settings for searching.
Code
function apachesolr_search_bias_form(&$form_state, $env_id, $fields) {
$form = array();
$form['#env_id'] = $env_id;
$form['bias_tabs'] = array();
$form += apachesolr_search_result_bias_form($env_id);
$form += apachesolr_search_type_boost_form($env_id);
$form += apachesolr_search_field_bias_form($fields, $env_id);
$form['actions']['submit'] = array(
'#type' => 'submit',
'#value' => t('Save configuration'),
'#submit' => array(
'apachesolr_search_bias_form_submit',
),
);
$form['actions']['reset'] = array(
'#type' => 'submit',
'#value' => t('Reset to defaults'),
'#submit' => array(
'apachesolr_search_bias_form_reset',
),
);
return $form;
}