You are here

function search_api_autocomplete_theme in Search API Autocomplete 7

Same name and namespace in other branches
  1. 8 search_api_autocomplete.module \search_api_autocomplete_theme()

Implements hook_theme().

File

./search_api_autocomplete.module, line 110
Adds autocomplete capabilities for Search API searches.

Code

function search_api_autocomplete_theme() {
  $themes['search_api_autocomplete_suggestion'] = array(
    'variables' => array(
      'keys' => NULL,
      'prefix' => NULL,
      'suggestion_prefix' => '',
      'user_input' => '',
      'suggestion_suffix' => '',
      'results' => NULL,
    ),
    'file' => 'search_api_autocomplete.pages.inc',
  );
  return $themes;
}