You are here

function apachesolr_search_mlt_block_load in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 apachesolr_search.module \apachesolr_search_mlt_block_load()
  2. 6.3 apachesolr_search.module \apachesolr_search_mlt_block_load()
2 calls to apachesolr_search_mlt_block_load()
apachesolr_search_block_view in ./apachesolr_search.module
Implements hook_block_view().
apachesolr_search_mlt_block_form in ./apachesolr_search.admin.inc
Form to edit moreLikeThis block settings.

File

./apachesolr_search.module, line 657
Provides a content search implementation for node content for use with the Apache Solr search application.

Code

function apachesolr_search_mlt_block_load($block_id) {
  $search_blocks = variable_get('apachesolr_search_mlt_blocks', array());
  return isset($search_blocks[$block_id]) ? $search_blocks[$block_id] : FALSE;
}