You are here

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

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides FieldPluginBase::render

3 methods override Node::render()
HistoryUserTimestamp::render in lib/Views/node/Plugin/views/field/HistoryUserTimestamp.php
Render the field.
Language::render in lib/Views/node/Plugin/views/field/Language.php
Render the field.
Type::render in lib/Views/node/Plugin/views/field/Type.php
Render the field.

File

lib/Views/node/Plugin/views/field/Node.php, line 87
Definition of Views\node\Plugin\views\field\Node.

Class

Node
Field handler to provide simple renderer that allows linking to a node. Definition terms:

Namespace

Views\node\Plugin\views\field

Code

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