You are here

function apachesolr_mlt_add_block_form_submit in Apache Solr Search 6

Same name and namespace in other branches
  1. 5.2 apachesolr.admin.inc \apachesolr_mlt_add_block_form_submit()
  2. 6.2 apachesolr.admin.inc \apachesolr_mlt_add_block_form_submit()

File

./apachesolr.admin.inc, line 525
Administrative pages for the Apache Solr framework.

Code

function apachesolr_mlt_add_block_form_submit($form, &$form_state) {
  apachesolr_mlt_save_block($form_state['values']);
  drupal_set_message('New content recommendation block created.  Drag it into a region to enable it');
  $form_state['redirect'] = 'admin/build/block';
}