You are here

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

Class

ViewsSystemLibraries
Field handler to display all libraries of a theme.

Namespace

Drupal\views_system\Plugin\views\field

Code

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