You are here

function search_api_autocomplete_theme in Search API Autocomplete 8

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

Implements hook_theme().

File

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

Code

function search_api_autocomplete_theme() {
  $themes['search_api_autocomplete_suggestion'] = [
    'variables' => [
      'keys' => NULL,
      'url' => NULL,
      'label' => NULL,
      'note' => NULL,
      'results_count' => NULL,
      'suggestion_prefix' => '',
      'suggestion_suffix' => '',
      'user_input' => '',
    ],
  ];
  return $themes;
}