You are here

public function MultiItemsFieldHandlerInterface::render_item in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/field/MultiItemsFieldHandlerInterface.php \Drupal\views\Plugin\views\field\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);