function TaxonomyIndexTid::render_item in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php \Drupal\taxonomy\Plugin\views\field\TaxonomyIndexTid::render_item()
Renders a single item of a row.
Parameters
int $count: The index of the item inside the row.
mixed $item: The item for the field to render.
Return value
string The rendered output.
Overrides MultiItemsFieldHandlerInterface::render_item
File
- core/
modules/ taxonomy/ src/ Plugin/ views/ field/ TaxonomyIndexTid.php, line 165 - Contains \Drupal\taxonomy\Plugin\views\field\TaxonomyIndexTid.
Class
- TaxonomyIndexTid
- Field handler to display all taxonomy terms of a node.
Namespace
Drupal\taxonomy\Plugin\views\fieldCode
function render_item($count, $item) {
return $item['name'];
}