public function MultiItemsFieldHandlerInterface::render_item in Drupal 9
Same name and namespace in other branches
- 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\fieldCode
public function render_item($count, $item);