You are here

function facetapi_apachesolr_form_apachesolr_settings_alter in Facet API 6

Implementation of hook_form_FORM_ID_alter().

Hides Apache Solr core facet settings.

File

contrib/facetapi_apachesolr/facetapi_apachesolr.module, line 306
The Apache Solr Search Integration module's implementation of the the Facet API.

Code

function facetapi_apachesolr_form_apachesolr_settings_alter(&$form, &$form_state) {
  $form['apachesolr_facetstyle'] = array(
    '#type' => 'value',
    '#value' => $form['apachesolr_facetstyle']['#default_value'],
  );
  $form['apachesolr_search_browse'] = array(
    '#type' => 'value',
    '#value' => $form['apachesolr_search_browse']['#default_value'],
  );
}