public function SarniaViewsHandlerField::render_item in Sarnia 7
Render a single item.
Parameters
scalar $key: The row number or row id (???)
array $item: An array containing a 'raw' and a 'rendered' parameter. This is one item from the array returned by ::get_items().
Return value
string Rendered content.
File
- handlers/
handler_field.inc, line 409
Class
- SarniaViewsHandlerField
- Field handler for displaying Solr fields in Views.
Code
public function render_item($key, $item) {
return $item['rendered'];
}