function Link::render

Same name in this branch

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides FieldPluginBase::render

File

drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Link.php, line 48
Definition of Drupal\comment\Plugin\views\field\Link.

Class

Link
Base field handler to present a link.

Namespace

Drupal\comment\Plugin\views\field

Code

function render($values) {
  $comment = $this
    ->get_entity($values);
  return $this
    ->render_link($comment, $values);
}