You are here

function TitleLink::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/aggregator/Plugin/views/field/TitleLink.php, line 56
Definition of Views\aggregator\Plugin\views\field\TitleLink.

Class

TitleLink
Field handler that turns an item's title into a clickable link to the original source article.

Namespace

Views\aggregator\Plugin\views\field

Code

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