You are here

search-api-spellcheck-single-suggestion.tpl.php in Search API Spellcheck 7

Displays a single spellcheck suggestion

Available variables

  • $suggestion

    • $suggestion->link
    • $suggestion->suggestion
    • $suggestion->original
    • $suggestion->url

File

theme/search-api-spellcheck-single-suggestion.tpl.php
View source
<?php

/**
 * @file
 * Displays a single spellcheck suggestion
 *
 * Available variables
 * - $suggestion
 *   - $suggestion->link
 *   - $suggestion->suggestion
 *   - $suggestion->original
 *   - $suggestion->url
 *
 * @ingroup themeable
 */
print t('Did you mean: !link?', array(
  '!link' => $suggestion->link,
));