You are here

function ViewsSystemRequiredBy::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/ViewsSystemRequiredBy.php, line 43
Contains \Drupal\views_system\Plugin\views\field\ViewsSystemRequiredBy.

Class

ViewsSystemRequiredBy
Field handler to display all other items that depends on this item.

Namespace

Drupal\views_system\Plugin\views\field

Code

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