public function Suggestion::setRender in Search API Autocomplete 8
Sets the render array.
Parameters
array|null $render: The render array.
Return value
$this
Overrides SuggestionInterface::setRender
File
- src/
Suggestion/ Suggestion.php, line 245
Class
- Suggestion
- Provides a value object meant to be used as result of suggestions.
Namespace
Drupal\search_api_autocomplete\SuggestionCode
public function setRender($render) {
$this->render = $render;
return $this;
}