Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TaxonomyIndexTid.php

function TaxonomyIndexTid::render_item

Overrides MultiItemsFieldHandlerInterface::render_item

File

core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php, line 160

Class

TaxonomyIndexTid
Field handler to display all taxonomy terms of a node.

Namespace

Drupal\taxonomy\Plugin\views\field

Code

public function render_item($count, $item) {
    return $item['name'];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal