You are here

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

Same name in this branch
  1. 8.3 lib/Views/node/Plugin/views/field/Link.php \Views\node\Plugin\views\field\Link::render()
  2. 8.3 lib/Views/user/Plugin/views/field/Link.php \Views\user\Plugin\views\field\Link::render()
  3. 8.3 lib/Views/comment/Plugin/views/field/Link.php \Views\comment\Plugin\views\field\Link::render()

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides FieldPluginBase::render

File

lib/Views/comment/Plugin/views/field/Link.php, line 48
Definition of Views\comment\Plugin\views\field\Link.

Class

Link
Base field handler to present a link.

Namespace

Views\comment\Plugin\views\field

Code

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