You are here

function Roles::render_item in Views (for Drupal 7) 8.3

File

lib/Views/user/Plugin/views/field/Roles.php, line 63
Definition of Views\user\Plugin\views\field\Roles.

Class

Roles
Field handler to provide a list of roles.

Namespace

Views\user\Plugin\views\field

Code

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