function panopoly_search_solr_ctools_access_check in Panopoly Search 7
Check for access.
1 string reference to 'panopoly_search_solr_ctools_access_check'
File
- plugins/
access/ solr.inc, line 28
Code
function panopoly_search_solr_ctools_access_check($conf, $context) {
$solr_server = search_api_server_load('solr_server');
return $solr_server->enabled && $solr_server
->ping();
}