You are here

function ViewsSystemRequires::render_item in Views System 8

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

src/Plugin/views/field/ViewsSystemRequires.php, line 44
Contains \Drupal\views_system\Plugin\views\field\ViewsSystemRequires.

Class

ViewsSystemRequires
Field handler to display all other items that this item requires.

Namespace

Drupal\views_system\Plugin\views\field

Code

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