public function RowsOfMultiValueFields::renderCell in Search API 8
File
- src/
Contrib/ RowsOfMultiValueFields.php, line 19
Class
- RowsOfMultiValueFields
- Outputs multi-valued data as comma-separated values.
Namespace
Drupal\search_api\ContribCode
public function renderCell($key, $cellData, FormatterOptions $options, $rowData) {
if (is_array($cellData)) {
return static::arrayToString($cellData);
}
return $cellData;
}