public function SuggestionInterface::getRender in Search API Autocomplete 8
Returns the render array set for this suggestion.
This should be displayed to the user for this suggestion. If missing, the suggestion is instead rendered with the "search_api_autocomplete_suggestion" theme.
Return value
array|null A renderable array of the suggestion results, or NULL if none was set.
1 method overrides SuggestionInterface::getRender()
- Suggestion::getRender in src/
Suggestion/ Suggestion.php - Returns the render array set for this suggestion.
File
- src/
Suggestion/ SuggestionInterface.php, line 98
Class
- SuggestionInterface
- Defines a single autocompletion suggestion.
Namespace
Drupal\search_api_autocomplete\SuggestionCode
public function getRender();