You are here

function apachesolr_mlt_add_block_form_submit in Apache Solr Search 5.2

Same name and namespace in other branches
  1. 6 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 494
Administrative pages for the Apache Solr framework.

Code

function apachesolr_mlt_add_block_form_submit($form_id, $form_values) {
  apachesolr_mlt_save_block($form_values);
  drupal_set_message('New content recommendation block created. Drag it into a region to enable it');
  return 'admin/build/block';
}