You are here

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

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides FieldPluginBase::render

File

lib/Views/comment/Plugin/views/field/Comment.php, line 81
Definition of Views\comment\Plugin\views\field\Comment.

Class

Comment
Field handler to allow linking to a comment.

Namespace

Views\comment\Plugin\views\field

Code

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