public function views_handler_field_field::render_items in Views (for Drupal 7) 7.3
Render all items in this field together.
When using advanced render, each possible item in the list is rendered individually. Then the items are all pasted together.
File
- modules/
field/ views_handler_field_field.inc, line 722 - Definition of views_handler_field_field.
Class
- views_handler_field_field
- A field that displays fieldapi fields.
Code
public function render_items($items) {
if (!empty($items)) {
if (!$this->options['group_rows']) {
return implode('', $items);
}
if ($this->options['multi_type'] == 'separator') {
return implode(filter_xss_admin($this->options['separator']), $items);
}
elseif ($this->options['multi_type'] == 'count') {
return count($items);
}
else {
return theme('item_list', array(
'items' => $items,
'title' => NULL,
'type' => $this->options['multi_type'],
));
}
}
}