You are here

function apachesolr_autocomplete_theme in Apache Solr Autocomplete 6

Same name and namespace in other branches
  1. 7 apachesolr_autocomplete.module \apachesolr_autocomplete_theme()

Implementation of hook_theme().

File

./apachesolr_autocomplete.module, line 135
Alters search forms to suggest terms using Apache Solr using AJAX. Thanks to robertDouglass who contributed some of the code.

Code

function apachesolr_autocomplete_theme() {
  return array(
    'apachesolr_autocomplete_highlight' => array(
      'file' => 'apachesolr_autocomplete.module',
      'arguments' => array(
        'keys' => NULL,
        'suggestion' => NULL,
        'count' => NULL,
      ),
    ),
    'apachesolr_autocomplete_spellcheck' => array(
      'file' => 'apachesolr_autocomplete.module',
      'arguments' => array(
        'suggestion' => NULL,
      ),
    ),
  );
}