You are here

function apachesolr_mlt_load_block in Apache Solr Search 5.2

Same name and namespace in other branches
  1. 5 contrib/apachesolr_mlt/apachesolr_mlt.module \apachesolr_mlt_load_block()
  2. 6 apachesolr.module \apachesolr_mlt_load_block()
  3. 6.2 apachesolr.module \apachesolr_mlt_load_block()
3 calls to apachesolr_mlt_load_block()
apachesolr_block in ./apachesolr.module
Implementation of hook_block().
apachesolr_mlt_block_form in ./apachesolr.admin.inc
Form to edit moreLikeThis block settings.
apachesolr_mlt_delete_block_form in ./apachesolr.admin.inc

File

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

Code

function apachesolr_mlt_load_block($delta) {
  $blocks = variable_get('apachesolr_mlt_blocks', array());
  return isset($blocks[$delta]) ? $blocks[$delta] : FALSE;
}