You are here

function search_api_spellcheck_theme in Search API Spellcheck 8.3

Same name and namespace in other branches
  1. 7 search_api_spellcheck.module \search_api_spellcheck_theme()

Implements hook_theme().

File

./search_api_spellcheck.module, line 6

Code

function search_api_spellcheck_theme() {
  $themes = [
    'search_api_spellcheck_did_you_mean' => [
      'variables' => [
        'label' => NULL,
        'link' => NULL,
      ],
    ],
    'search_api_spellcheck_suggestions' => [
      'variables' => [
        'label' => NULL,
        'suggestions' => [],
      ],
    ],
  ];
  return $themes;
}