You are here

function User::render in Views (for Drupal 7) 8.3

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides FieldPluginBase::render

1 method overrides User::render()
Language::render in lib/Views/user/Plugin/views/field/Language.php
Render the field.

File

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

Class

User
Field handler to provide simple renderer that allows linking to a user.

Namespace

Views\user\Plugin\views\field

Code

function render($values) {
  $value = $this
    ->get_value($values);
  return $this
    ->render_link($this
    ->sanitizeValue($value), $values);
}