You are here

protected function SuggestionsSpellCheck::getSuggestionLabel in Search API Spellcheck 8.3

Gets the suggestion label.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The suggestion label translated.

Overrides DidYouMeanSpellCheck::getSuggestionLabel

1 call to SuggestionsSpellCheck::getSuggestionLabel()
SuggestionsSpellCheck::render in src/Plugin/views/area/SuggestionsSpellCheck.php
Render the area.

File

src/Plugin/views/area/SuggestionsSpellCheck.php, line 98

Class

SuggestionsSpellCheck
Provides an area for messages.

Namespace

Drupal\search_api_spellcheck\Plugin\views\area

Code

protected function getSuggestionLabel() {
  return $this
    ->t('Spellcheck keyword variations:');
}