You are here

function apachesolr_form_content_field_overview_form_alter in Apache Solr Search 6

Same name and namespace in other branches
  1. 6.2 apachesolr.module \apachesolr_form_content_field_overview_form_alter()

Implementation of hook_form_[form_id]_alter().

Make sure to flush cache when fields are added.

File

./apachesolr.module, line 1719
Integration with the Apache Solr search application.

Code

function apachesolr_form_content_field_overview_form_alter(&$form, $form_state) {
  $form['#submit'][] = 'apachesolr_clear_cache';
}