You are here

function search_api_autocomplete_hook_info in Search API Autocomplete 8

Implements hook_hook_info().

Allows other modules to place all their hook implementations for this module into a "MODULE.search_api_autocomplete.inc" file.

File

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

Code

function search_api_autocomplete_hook_info() {
  $hooks = [
    'search_api_autocomplete_suggestions_alter',
    'search_api_autocomplete_suggester_info_alter',
    'search_api_autocomplete_search_info_alter',
    'search_api_autocomplete_views_fulltext_fields_alter',
  ];
  $info = [
    'group' => 'search_api_autocomplete',
  ];
  return array_fill_keys($hooks, $info);
}