public function SearchApiEntityFieldExport::renderText in REST Views 2.0.x
File
- modules/
rest_views_search_api/ src/ Plugin/ views/ field/ SearchApiEntityFieldExport.php, line 58
Class
- SearchApiEntityFieldExport
- Display Search API Content Datasource field data in a serialized display.
Namespace
Drupal\rest_views_search_api\Plugin\views\fieldCode
public function renderText($alter) {
if (isset($this->last_render) && $this->last_render instanceof SerializedData) {
return $this->last_render;
}
return parent::renderText($alter);
}