function support_solr_block_list in Support Ticketing System 6
Implements hook_block_list().
1 call to support_solr_block_list()
- support_solr_block in support_solr/
support_solr.module - Implementation of hook_block(). Forwards to D7 style hooks.
File
- support_solr/
support_solr.module, line 157 - Apache Solr search for support module.
Code
function support_solr_block_list() {
$blocks = array();
$enabled = apachesolr_get_enabled_facets('support_solr');
$info = module_invoke_all('support_solr_info');
foreach ($enabled as $name => $field) {
$blocks[$name] = $info[$name]['block'];
}
return $blocks;
}