public function Suggestion::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.
Overrides SuggestionInterface::getRender
File
- src/
Suggestion/ Suggestion.php, line 174
Class
- Suggestion
- Provides a value object meant to be used as result of suggestions.
Namespace
Drupal\search_api_autocomplete\SuggestionCode
public function getRender() {
return $this->render;
}