function Roles::render_item

File

drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/Roles.php, line 70
Definition of Drupal\user\Plugin\views\field\Roles.

Class

Roles
Field handler to provide a list of roles.

Namespace

Drupal\user\Plugin\views\field

Code

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