You are here

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

Class

ViewsSystemRegions
Field handler to display all regions of a theme.

Namespace

Drupal\views_system\Plugin\views\field

Code

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