You are here

function apachesolr_search_context_plugins in Apache Solr Search 7

Implements hook_context_plugins()

File

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

Code

function apachesolr_search_context_plugins() {
  $plugins = array();
  $plugins['apachesolr_context_page_condition'] = array(
    'handler' => array(
      'path' => drupal_get_path('module', 'apachesolr') . '/plugins/context',
      'file' => 'apachesolr_context_page_condition.inc',
      'class' => 'apachesolr_context_page_condition',
      'parent' => 'context_condition',
    ),
  );
  return $plugins;
}