search-api-spellcheck-did-you-mean.html.twig in Search API Spellcheck 8.3
Default theme implementation to display a search did you mean.
Available variables:
- label: Text to display in front of the did you mean.
- link: The link (\Drupal\Core\Link object) to which the did you mean will redirect the user.
1 theme call to search-api-spellcheck-did-you-mean.html.twig
- DidYouMeanSpellCheck::render in src/
Plugin/ views/ area/ DidYouMeanSpellCheck.php - Render the area.
File
templates/search-api-spellcheck-did-you-mean.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation to display a search did you mean.
- *
- * Available variables:
- * - label: Text to display in front of the did you mean.
- * - link: The link (\Drupal\Core\Link object) to which the did you mean will
- * redirect the user.
- *
- * @ingroup themeable
- */
- #}
-
- <div class="sapi-did-you-mean">
- <span class="did-you-mean-prefix">{{ label }} </span>
- {{ link }}
- <span class="did-you-mean-suffix">?</span>
- </div>
-