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

Breadcrumb

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

function MultiItemsFieldHandlerInterface::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.

4 methods override MultiItemsFieldHandlerInterface::render_item()
EntityField::render_item in core/modules/views/src/Plugin/views/field/EntityField.php
Renders a single item of a row.
Permissions::render_item in core/modules/user/src/Plugin/views/field/Permissions.php
Renders a single item of a row.
Roles::render_item in core/modules/user/src/Plugin/views/field/Roles.php
Renders a single item of a row.
TaxonomyIndexTid::render_item in core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php
Renders a single item of a row.

File

core/modules/views/src/Plugin/views/field/MultiItemsFieldHandlerInterface.php, line 23

Class

MultiItemsFieldHandlerInterface
Defines a field handler which renders multiple items per row.

Namespace

Drupal\views\Plugin\views\field

Code

public function render_item($count, $item);

API Navigation

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